Expand description
Represents an On-Premises Agent pool.
To get more information about AgentPool, see:
- API documentation
- How-to Guides
§Example Usage
§Agent Pool Basic
resources:
pubsubEditorRole:
type: gcp:projects:IAMMember
name: pubsub_editor_role
properties:
project: my-project-name
role: roles/pubsub.editor
member: serviceAccount:${default.email}
example:
type: gcp:storage:TransferAgentPool
properties:
name: agent-pool-example
displayName: Source A to destination Z
bandwidthLimit:
limitMbps: '120'
options:
dependsOn:
- ${pubsubEditorRole}
variables:
default:
fn::invoke:
function: gcp:storage:getTransferProjectServiceAccount
arguments:
project: my-project-name
§Import
AgentPool can be imported using any of these accepted formats:
-
projects/{{project}}/agentPools/{{name}}
-
{{project}}/{{name}}
-
{{name}}
When using the pulumi import
command, AgentPool can be imported using one of the formats above. For example:
$ pulumi import gcp:storage/transferAgentPool:TransferAgentPool default projects/{{project}}/agentPools/{{name}}
$ pulumi import gcp:storage/transferAgentPool:TransferAgentPool default {{project}}/{{name}}
$ pulumi import gcp:storage/transferAgentPool:TransferAgentPool default {{name}}
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments