Documentation
¶
Index ¶
- type LookupWorkerPoolArgs
- type LookupWorkerPoolOutputArgs
- type LookupWorkerPoolResult
- type LookupWorkerPoolResultOutput
- func (o LookupWorkerPoolResultOutput) Annotations() pulumi.StringMapOutput
- func (o LookupWorkerPoolResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupWorkerPoolResultOutput) DeleteTime() pulumi.StringOutput
- func (o LookupWorkerPoolResultOutput) DisplayName() pulumi.StringOutput
- func (LookupWorkerPoolResultOutput) ElementType() reflect.Type
- func (o LookupWorkerPoolResultOutput) Etag() pulumi.StringOutput
- func (o LookupWorkerPoolResultOutput) Name() pulumi.StringOutput
- func (o LookupWorkerPoolResultOutput) NetworkConfig() NetworkConfigResponseOutput
- func (o LookupWorkerPoolResultOutput) State() pulumi.StringOutput
- func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutput() LookupWorkerPoolResultOutput
- func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutputWithContext(ctx context.Context) LookupWorkerPoolResultOutput
- func (o LookupWorkerPoolResultOutput) Uid() pulumi.StringOutput
- func (o LookupWorkerPoolResultOutput) UpdateTime() pulumi.StringOutput
- func (o LookupWorkerPoolResultOutput) WorkerConfig() WorkerConfigResponseOutput
- type NetworkConfig
- type NetworkConfigArgs
- func (NetworkConfigArgs) ElementType() reflect.Type
- func (i NetworkConfigArgs) ToNetworkConfigOutput() NetworkConfigOutput
- func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput
- func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
- func (i NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput
- type NetworkConfigInput
- type NetworkConfigOutput
- func (NetworkConfigOutput) ElementType() reflect.Type
- func (o NetworkConfigOutput) PeeredNetwork() pulumi.StringOutput
- func (o NetworkConfigOutput) ToNetworkConfigOutput() NetworkConfigOutput
- func (o NetworkConfigOutput) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput
- func (o NetworkConfigOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
- func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput
- type NetworkConfigPtrInput
- type NetworkConfigPtrOutput
- func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput
- func (NetworkConfigPtrOutput) ElementType() reflect.Type
- func (o NetworkConfigPtrOutput) PeeredNetwork() pulumi.StringPtrOutput
- func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
- func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput
- type NetworkConfigResponse
- type NetworkConfigResponseOutput
- func (NetworkConfigResponseOutput) ElementType() reflect.Type
- func (o NetworkConfigResponseOutput) PeeredNetwork() pulumi.StringOutput
- func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutput() NetworkConfigResponseOutput
- func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ctx context.Context) NetworkConfigResponseOutput
- type WorkerConfig
- type WorkerConfigArgs
- func (WorkerConfigArgs) ElementType() reflect.Type
- func (i WorkerConfigArgs) ToWorkerConfigOutput() WorkerConfigOutput
- func (i WorkerConfigArgs) ToWorkerConfigOutputWithContext(ctx context.Context) WorkerConfigOutput
- func (i WorkerConfigArgs) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput
- func (i WorkerConfigArgs) ToWorkerConfigPtrOutputWithContext(ctx context.Context) WorkerConfigPtrOutput
- type WorkerConfigInput
- type WorkerConfigOutput
- func (o WorkerConfigOutput) DiskSizeGb() pulumi.StringPtrOutput
- func (WorkerConfigOutput) ElementType() reflect.Type
- func (o WorkerConfigOutput) MachineType() pulumi.StringPtrOutput
- func (o WorkerConfigOutput) NoExternalIp() pulumi.BoolPtrOutput
- func (o WorkerConfigOutput) ToWorkerConfigOutput() WorkerConfigOutput
- func (o WorkerConfigOutput) ToWorkerConfigOutputWithContext(ctx context.Context) WorkerConfigOutput
- func (o WorkerConfigOutput) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput
- func (o WorkerConfigOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Context) WorkerConfigPtrOutput
- type WorkerConfigPtrInput
- type WorkerConfigPtrOutput
- func (o WorkerConfigPtrOutput) DiskSizeGb() pulumi.StringPtrOutput
- func (o WorkerConfigPtrOutput) Elem() WorkerConfigOutput
- func (WorkerConfigPtrOutput) ElementType() reflect.Type
- func (o WorkerConfigPtrOutput) MachineType() pulumi.StringPtrOutput
- func (o WorkerConfigPtrOutput) NoExternalIp() pulumi.BoolPtrOutput
- func (o WorkerConfigPtrOutput) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput
- func (o WorkerConfigPtrOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Context) WorkerConfigPtrOutput
- type WorkerConfigResponse
- type WorkerConfigResponseOutput
- func (o WorkerConfigResponseOutput) DiskSizeGb() pulumi.StringOutput
- func (WorkerConfigResponseOutput) ElementType() reflect.Type
- func (o WorkerConfigResponseOutput) MachineType() pulumi.StringOutput
- func (o WorkerConfigResponseOutput) NoExternalIp() pulumi.BoolOutput
- func (o WorkerConfigResponseOutput) ToWorkerConfigResponseOutput() WorkerConfigResponseOutput
- func (o WorkerConfigResponseOutput) ToWorkerConfigResponseOutputWithContext(ctx context.Context) WorkerConfigResponseOutput
- type WorkerPool
- type WorkerPoolArgs
- type WorkerPoolInput
- type WorkerPoolOutput
- type WorkerPoolState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupWorkerPoolArgs ¶ added in v0.4.0
type LookupWorkerPoolOutputArgs ¶ added in v0.8.0
type LookupWorkerPoolOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` WorkerPoolId pulumi.StringInput `pulumi:"workerPoolId"` }
func (LookupWorkerPoolOutputArgs) ElementType ¶ added in v0.8.0
func (LookupWorkerPoolOutputArgs) ElementType() reflect.Type
type LookupWorkerPoolResult ¶ added in v0.4.0
type LookupWorkerPoolResult struct { // User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. Annotations map[string]string `pulumi:"annotations"` // Time at which the request to create the `WorkerPool` was received. CreateTime string `pulumi:"createTime"` // Time at which the request to delete the `WorkerPool` was received. DeleteTime string `pulumi:"deleteTime"` // A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters. DisplayName string `pulumi:"displayName"` // 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. Etag string `pulumi:"etag"` // 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. Name string `pulumi:"name"` // Network configuration for the `WorkerPool`. NetworkConfig NetworkConfigResponse `pulumi:"networkConfig"` // `WorkerPool` state. State string `pulumi:"state"` // A unique identifier for the `WorkerPool`. Uid string `pulumi:"uid"` // Time at which the request to update the `WorkerPool` was received. UpdateTime string `pulumi:"updateTime"` // Worker configuration for the `WorkerPool`. WorkerConfig WorkerConfigResponse `pulumi:"workerConfig"` }
func LookupWorkerPool ¶ added in v0.4.0
func LookupWorkerPool(ctx *pulumi.Context, args *LookupWorkerPoolArgs, opts ...pulumi.InvokeOption) (*LookupWorkerPoolResult, error)
Returns details of a `WorkerPool`.
type LookupWorkerPoolResultOutput ¶ added in v0.8.0
type LookupWorkerPoolResultOutput struct{ *pulumi.OutputState }
func LookupWorkerPoolOutput ¶ added in v0.8.0
func LookupWorkerPoolOutput(ctx *pulumi.Context, args LookupWorkerPoolOutputArgs, opts ...pulumi.InvokeOption) LookupWorkerPoolResultOutput
func (LookupWorkerPoolResultOutput) Annotations ¶ added in v0.9.0
func (o LookupWorkerPoolResultOutput) Annotations() pulumi.StringMapOutput
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
func (LookupWorkerPoolResultOutput) CreateTime ¶ added in v0.8.0
func (o LookupWorkerPoolResultOutput) CreateTime() pulumi.StringOutput
Time at which the request to create the `WorkerPool` was received.
func (LookupWorkerPoolResultOutput) DeleteTime ¶ added in v0.8.0
func (o LookupWorkerPoolResultOutput) DeleteTime() pulumi.StringOutput
Time at which the request to delete the `WorkerPool` was received.
func (LookupWorkerPoolResultOutput) DisplayName ¶ added in v0.9.0
func (o LookupWorkerPoolResultOutput) DisplayName() pulumi.StringOutput
A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
func (LookupWorkerPoolResultOutput) ElementType ¶ added in v0.8.0
func (LookupWorkerPoolResultOutput) ElementType() reflect.Type
func (LookupWorkerPoolResultOutput) Etag ¶ added in v0.9.0
func (o LookupWorkerPoolResultOutput) Etag() pulumi.StringOutput
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.
func (LookupWorkerPoolResultOutput) Name ¶ added in v0.8.0
func (o LookupWorkerPoolResultOutput) Name() pulumi.StringOutput
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.
func (LookupWorkerPoolResultOutput) NetworkConfig ¶ added in v0.8.0
func (o LookupWorkerPoolResultOutput) NetworkConfig() NetworkConfigResponseOutput
Network configuration for the `WorkerPool`.
func (LookupWorkerPoolResultOutput) State ¶ added in v0.8.0
func (o LookupWorkerPoolResultOutput) State() pulumi.StringOutput
`WorkerPool` state.
func (LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutput ¶ added in v0.8.0
func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutput() LookupWorkerPoolResultOutput
func (LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutputWithContext ¶ added in v0.8.0
func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutputWithContext(ctx context.Context) LookupWorkerPoolResultOutput
func (LookupWorkerPoolResultOutput) Uid ¶ added in v0.9.0
func (o LookupWorkerPoolResultOutput) Uid() pulumi.StringOutput
A unique identifier for the `WorkerPool`.
func (LookupWorkerPoolResultOutput) UpdateTime ¶ added in v0.8.0
func (o LookupWorkerPoolResultOutput) UpdateTime() pulumi.StringOutput
Time at which the request to update the `WorkerPool` was received.
func (LookupWorkerPoolResultOutput) WorkerConfig ¶ added in v0.8.0
func (o LookupWorkerPoolResultOutput) WorkerConfig() WorkerConfigResponseOutput
Worker configuration for the `WorkerPool`.
type NetworkConfig ¶
type NetworkConfig struct { // 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](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options) PeeredNetwork string `pulumi:"peeredNetwork"` }
Network describes the network configuration for a `WorkerPool`.
type NetworkConfigArgs ¶
type NetworkConfigArgs struct { // 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](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options) PeeredNetwork pulumi.StringInput `pulumi:"peeredNetwork"` }
Network describes the network configuration for a `WorkerPool`.
func (NetworkConfigArgs) ElementType ¶
func (NetworkConfigArgs) ElementType() reflect.Type
func (NetworkConfigArgs) ToNetworkConfigOutput ¶
func (i NetworkConfigArgs) ToNetworkConfigOutput() NetworkConfigOutput
func (NetworkConfigArgs) ToNetworkConfigOutputWithContext ¶
func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput
func (NetworkConfigArgs) ToNetworkConfigPtrOutput ¶
func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
func (NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext ¶
func (i NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput
type NetworkConfigInput ¶
type NetworkConfigInput interface { pulumi.Input ToNetworkConfigOutput() NetworkConfigOutput ToNetworkConfigOutputWithContext(context.Context) NetworkConfigOutput }
NetworkConfigInput is an input type that accepts NetworkConfigArgs and NetworkConfigOutput values. You can construct a concrete instance of `NetworkConfigInput` via:
NetworkConfigArgs{...}
type NetworkConfigOutput ¶
type NetworkConfigOutput struct{ *pulumi.OutputState }
Network describes the network configuration for a `WorkerPool`.
func (NetworkConfigOutput) ElementType ¶
func (NetworkConfigOutput) ElementType() reflect.Type
func (NetworkConfigOutput) PeeredNetwork ¶
func (o NetworkConfigOutput) PeeredNetwork() pulumi.StringOutput
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](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)
func (NetworkConfigOutput) ToNetworkConfigOutput ¶
func (o NetworkConfigOutput) ToNetworkConfigOutput() NetworkConfigOutput
func (NetworkConfigOutput) ToNetworkConfigOutputWithContext ¶
func (o NetworkConfigOutput) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput
func (NetworkConfigOutput) ToNetworkConfigPtrOutput ¶
func (o NetworkConfigOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
func (NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext ¶
func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput
type NetworkConfigPtrInput ¶
type NetworkConfigPtrInput interface { pulumi.Input ToNetworkConfigPtrOutput() NetworkConfigPtrOutput ToNetworkConfigPtrOutputWithContext(context.Context) NetworkConfigPtrOutput }
NetworkConfigPtrInput is an input type that accepts NetworkConfigArgs, NetworkConfigPtr and NetworkConfigPtrOutput values. You can construct a concrete instance of `NetworkConfigPtrInput` via:
NetworkConfigArgs{...} or: nil
func NetworkConfigPtr ¶
func NetworkConfigPtr(v *NetworkConfigArgs) NetworkConfigPtrInput
type NetworkConfigPtrOutput ¶
type NetworkConfigPtrOutput struct{ *pulumi.OutputState }
func (NetworkConfigPtrOutput) Elem ¶
func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput
func (NetworkConfigPtrOutput) ElementType ¶
func (NetworkConfigPtrOutput) ElementType() reflect.Type
func (NetworkConfigPtrOutput) PeeredNetwork ¶
func (o NetworkConfigPtrOutput) PeeredNetwork() pulumi.StringPtrOutput
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](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)
func (NetworkConfigPtrOutput) ToNetworkConfigPtrOutput ¶
func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
func (NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext ¶
func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput
type NetworkConfigResponse ¶
type NetworkConfigResponse struct { // 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](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options) PeeredNetwork string `pulumi:"peeredNetwork"` }
Network describes the network configuration for a `WorkerPool`.
type NetworkConfigResponseOutput ¶
type NetworkConfigResponseOutput struct{ *pulumi.OutputState }
Network describes the network configuration for a `WorkerPool`.
func (NetworkConfigResponseOutput) ElementType ¶
func (NetworkConfigResponseOutput) ElementType() reflect.Type
func (NetworkConfigResponseOutput) PeeredNetwork ¶
func (o NetworkConfigResponseOutput) PeeredNetwork() pulumi.StringOutput
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](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)
func (NetworkConfigResponseOutput) ToNetworkConfigResponseOutput ¶
func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutput() NetworkConfigResponseOutput
func (NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext ¶
func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ctx context.Context) NetworkConfigResponseOutput
type WorkerConfig ¶
type WorkerConfig struct { // Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size. DiskSizeGb *string `pulumi:"diskSizeGb"` // Machine type of a worker, such as `n1-standard-1`. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`. MachineType *string `pulumi:"machineType"` // If true, workers are created without any public address, which prevents network egress to public IPs. NoExternalIp *bool `pulumi:"noExternalIp"` }
Defines the configuration to be used for creating workers in the pool.
type WorkerConfigArgs ¶
type WorkerConfigArgs struct { // Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size. DiskSizeGb pulumi.StringPtrInput `pulumi:"diskSizeGb"` // Machine type of a worker, such as `n1-standard-1`. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`. MachineType pulumi.StringPtrInput `pulumi:"machineType"` // If true, workers are created without any public address, which prevents network egress to public IPs. NoExternalIp pulumi.BoolPtrInput `pulumi:"noExternalIp"` }
Defines the configuration to be used for creating workers in the pool.
func (WorkerConfigArgs) ElementType ¶
func (WorkerConfigArgs) ElementType() reflect.Type
func (WorkerConfigArgs) ToWorkerConfigOutput ¶
func (i WorkerConfigArgs) ToWorkerConfigOutput() WorkerConfigOutput
func (WorkerConfigArgs) ToWorkerConfigOutputWithContext ¶
func (i WorkerConfigArgs) ToWorkerConfigOutputWithContext(ctx context.Context) WorkerConfigOutput
func (WorkerConfigArgs) ToWorkerConfigPtrOutput ¶
func (i WorkerConfigArgs) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput
func (WorkerConfigArgs) ToWorkerConfigPtrOutputWithContext ¶
func (i WorkerConfigArgs) ToWorkerConfigPtrOutputWithContext(ctx context.Context) WorkerConfigPtrOutput
type WorkerConfigInput ¶
type WorkerConfigInput interface { pulumi.Input ToWorkerConfigOutput() WorkerConfigOutput ToWorkerConfigOutputWithContext(context.Context) WorkerConfigOutput }
WorkerConfigInput is an input type that accepts WorkerConfigArgs and WorkerConfigOutput values. You can construct a concrete instance of `WorkerConfigInput` via:
WorkerConfigArgs{...}
type WorkerConfigOutput ¶
type WorkerConfigOutput struct{ *pulumi.OutputState }
Defines the configuration to be used for creating workers in the pool.
func (WorkerConfigOutput) DiskSizeGb ¶
func (o WorkerConfigOutput) DiskSizeGb() pulumi.StringPtrOutput
Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size.
func (WorkerConfigOutput) ElementType ¶
func (WorkerConfigOutput) ElementType() reflect.Type
func (WorkerConfigOutput) MachineType ¶
func (o WorkerConfigOutput) MachineType() pulumi.StringPtrOutput
Machine type of a worker, such as `n1-standard-1`. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`.
func (WorkerConfigOutput) NoExternalIp ¶
func (o WorkerConfigOutput) NoExternalIp() pulumi.BoolPtrOutput
If true, workers are created without any public address, which prevents network egress to public IPs.
func (WorkerConfigOutput) ToWorkerConfigOutput ¶
func (o WorkerConfigOutput) ToWorkerConfigOutput() WorkerConfigOutput
func (WorkerConfigOutput) ToWorkerConfigOutputWithContext ¶
func (o WorkerConfigOutput) ToWorkerConfigOutputWithContext(ctx context.Context) WorkerConfigOutput
func (WorkerConfigOutput) ToWorkerConfigPtrOutput ¶
func (o WorkerConfigOutput) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput
func (WorkerConfigOutput) ToWorkerConfigPtrOutputWithContext ¶
func (o WorkerConfigOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Context) WorkerConfigPtrOutput
type WorkerConfigPtrInput ¶
type WorkerConfigPtrInput interface { pulumi.Input ToWorkerConfigPtrOutput() WorkerConfigPtrOutput ToWorkerConfigPtrOutputWithContext(context.Context) WorkerConfigPtrOutput }
WorkerConfigPtrInput is an input type that accepts WorkerConfigArgs, WorkerConfigPtr and WorkerConfigPtrOutput values. You can construct a concrete instance of `WorkerConfigPtrInput` via:
WorkerConfigArgs{...} or: nil
func WorkerConfigPtr ¶
func WorkerConfigPtr(v *WorkerConfigArgs) WorkerConfigPtrInput
type WorkerConfigPtrOutput ¶
type WorkerConfigPtrOutput struct{ *pulumi.OutputState }
func (WorkerConfigPtrOutput) DiskSizeGb ¶
func (o WorkerConfigPtrOutput) DiskSizeGb() pulumi.StringPtrOutput
Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size.
func (WorkerConfigPtrOutput) Elem ¶
func (o WorkerConfigPtrOutput) Elem() WorkerConfigOutput
func (WorkerConfigPtrOutput) ElementType ¶
func (WorkerConfigPtrOutput) ElementType() reflect.Type
func (WorkerConfigPtrOutput) MachineType ¶
func (o WorkerConfigPtrOutput) MachineType() pulumi.StringPtrOutput
Machine type of a worker, such as `n1-standard-1`. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`.
func (WorkerConfigPtrOutput) NoExternalIp ¶
func (o WorkerConfigPtrOutput) NoExternalIp() pulumi.BoolPtrOutput
If true, workers are created without any public address, which prevents network egress to public IPs.
func (WorkerConfigPtrOutput) ToWorkerConfigPtrOutput ¶
func (o WorkerConfigPtrOutput) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput
func (WorkerConfigPtrOutput) ToWorkerConfigPtrOutputWithContext ¶
func (o WorkerConfigPtrOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Context) WorkerConfigPtrOutput
type WorkerConfigResponse ¶
type WorkerConfigResponse struct { // Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size. DiskSizeGb string `pulumi:"diskSizeGb"` // Machine type of a worker, such as `n1-standard-1`. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`. MachineType string `pulumi:"machineType"` // If true, workers are created without any public address, which prevents network egress to public IPs. NoExternalIp bool `pulumi:"noExternalIp"` }
Defines the configuration to be used for creating workers in the pool.
type WorkerConfigResponseOutput ¶
type WorkerConfigResponseOutput struct{ *pulumi.OutputState }
Defines the configuration to be used for creating workers in the pool.
func (WorkerConfigResponseOutput) DiskSizeGb ¶
func (o WorkerConfigResponseOutput) DiskSizeGb() pulumi.StringOutput
Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size.
func (WorkerConfigResponseOutput) ElementType ¶
func (WorkerConfigResponseOutput) ElementType() reflect.Type
func (WorkerConfigResponseOutput) MachineType ¶
func (o WorkerConfigResponseOutput) MachineType() pulumi.StringOutput
Machine type of a worker, such as `n1-standard-1`. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`.
func (WorkerConfigResponseOutput) NoExternalIp ¶
func (o WorkerConfigResponseOutput) NoExternalIp() pulumi.BoolOutput
If true, workers are created without any public address, which prevents network egress to public IPs.
func (WorkerConfigResponseOutput) ToWorkerConfigResponseOutput ¶
func (o WorkerConfigResponseOutput) ToWorkerConfigResponseOutput() WorkerConfigResponseOutput
func (WorkerConfigResponseOutput) ToWorkerConfigResponseOutputWithContext ¶
func (o WorkerConfigResponseOutput) ToWorkerConfigResponseOutputWithContext(ctx context.Context) WorkerConfigResponseOutput
type WorkerPool ¶
type WorkerPool struct { pulumi.CustomResourceState // User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Time at which the request to create the `WorkerPool` was received. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Time at which the request to delete the `WorkerPool` was received. DeleteTime pulumi.StringOutput `pulumi:"deleteTime"` // A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters. DisplayName pulumi.StringOutput `pulumi:"displayName"` // 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. Etag pulumi.StringOutput `pulumi:"etag"` // 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. Name pulumi.StringOutput `pulumi:"name"` // Network configuration for the `WorkerPool`. NetworkConfig NetworkConfigResponseOutput `pulumi:"networkConfig"` // `WorkerPool` state. State pulumi.StringOutput `pulumi:"state"` // A unique identifier for the `WorkerPool`. Uid pulumi.StringOutput `pulumi:"uid"` // Time at which the request to update the `WorkerPool` was received. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` // Worker configuration for the `WorkerPool`. WorkerConfig WorkerConfigResponseOutput `pulumi:"workerConfig"` }
Creates a `WorkerPool` to run the builds, and returns the new worker pool. NOTE: As of now, this method returns an `Operation` that is always complete. Auto-naming is currently not supported for this resource.
func GetWorkerPool ¶
func GetWorkerPool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkerPoolState, opts ...pulumi.ResourceOption) (*WorkerPool, error)
GetWorkerPool gets an existing WorkerPool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkerPool ¶
func NewWorkerPool(ctx *pulumi.Context, name string, args *WorkerPoolArgs, opts ...pulumi.ResourceOption) (*WorkerPool, error)
NewWorkerPool registers a new resource with the given unique name, arguments, and options.
func (*WorkerPool) ElementType ¶
func (*WorkerPool) ElementType() reflect.Type
func (*WorkerPool) ToWorkerPoolOutput ¶
func (i *WorkerPool) ToWorkerPoolOutput() WorkerPoolOutput
func (*WorkerPool) ToWorkerPoolOutputWithContext ¶
func (i *WorkerPool) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPoolOutput
type WorkerPoolArgs ¶
type WorkerPoolArgs struct { // User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. Annotations pulumi.StringMapInput // A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters. DisplayName pulumi.StringPtrInput Location pulumi.StringPtrInput // Network configuration for the `WorkerPool`. NetworkConfig NetworkConfigPtrInput Project pulumi.StringPtrInput // Worker configuration for the `WorkerPool`. WorkerConfig WorkerConfigPtrInput // 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-/. WorkerPoolId pulumi.StringInput }
The set of arguments for constructing a WorkerPool resource.
func (WorkerPoolArgs) ElementType ¶
func (WorkerPoolArgs) ElementType() reflect.Type
type WorkerPoolInput ¶
type WorkerPoolInput interface { pulumi.Input ToWorkerPoolOutput() WorkerPoolOutput ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPoolOutput }
type WorkerPoolOutput ¶
type WorkerPoolOutput struct{ *pulumi.OutputState }
func (WorkerPoolOutput) ElementType ¶
func (WorkerPoolOutput) ElementType() reflect.Type
func (WorkerPoolOutput) ToWorkerPoolOutput ¶
func (o WorkerPoolOutput) ToWorkerPoolOutput() WorkerPoolOutput
func (WorkerPoolOutput) ToWorkerPoolOutputWithContext ¶
func (o WorkerPoolOutput) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPoolOutput
type WorkerPoolState ¶
type WorkerPoolState struct { }
func (WorkerPoolState) ElementType ¶
func (WorkerPoolState) ElementType() reflect.Type