Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

getAgentPool

Gets an agent pool.

Using getAgentPool

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAgentPool(args: GetAgentPoolArgs, opts?: InvokeOptions): Promise<GetAgentPoolResult>
function getAgentPoolOutput(args: GetAgentPoolOutputArgs, opts?: InvokeOptions): Output<GetAgentPoolResult>
def get_agent_pool(agent_pool_id: Optional[str] = None,
                   project: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetAgentPoolResult
def get_agent_pool_output(agent_pool_id: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetAgentPoolResult]
func LookupAgentPool(ctx *Context, args *LookupAgentPoolArgs, opts ...InvokeOption) (*LookupAgentPoolResult, error)
func LookupAgentPoolOutput(ctx *Context, args *LookupAgentPoolOutputArgs, opts ...InvokeOption) LookupAgentPoolResultOutput

> Note: This function is named LookupAgentPool in the Go SDK.

public static class GetAgentPool 
{
    public static Task<GetAgentPoolResult> InvokeAsync(GetAgentPoolArgs args, InvokeOptions? opts = null)
    public static Output<GetAgentPoolResult> Invoke(GetAgentPoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAgentPoolResult> getAgentPool(GetAgentPoolArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:storagetransfer/v1:getAgentPool
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AgentPoolId string
Project string
AgentPoolId string
Project string
agentPoolId String
project String
agentPoolId string
project string
agentPoolId String
project String

getAgentPool Result

The following output properties are available:

BandwidthLimit Pulumi.GoogleNative.StorageTransfer.V1.Outputs.BandwidthLimitResponse

Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.

DisplayName string

Specifies the client-specified AgentPool description.

Name string

Specifies a unique string that identifies the agent pool. Format: projects/{project_id}/agentPools/{agent_pool_id}

State string

Specifies the state of the AgentPool.

BandwidthLimit BandwidthLimitResponse

Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.

DisplayName string

Specifies the client-specified AgentPool description.

Name string

Specifies a unique string that identifies the agent pool. Format: projects/{project_id}/agentPools/{agent_pool_id}

State string

Specifies the state of the AgentPool.

bandwidthLimit BandwidthLimitResponse

Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.

displayName String

Specifies the client-specified AgentPool description.

name String

Specifies a unique string that identifies the agent pool. Format: projects/{project_id}/agentPools/{agent_pool_id}

state String

Specifies the state of the AgentPool.

bandwidthLimit BandwidthLimitResponse

Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.

displayName string

Specifies the client-specified AgentPool description.

name string

Specifies a unique string that identifies the agent pool. Format: projects/{project_id}/agentPools/{agent_pool_id}

state string

Specifies the state of the AgentPool.

bandwidth_limit BandwidthLimitResponse

Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.

display_name str

Specifies the client-specified AgentPool description.

name str

Specifies a unique string that identifies the agent pool. Format: projects/{project_id}/agentPools/{agent_pool_id}

state str

Specifies the state of the AgentPool.

bandwidthLimit Property Map

Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.

displayName String

Specifies the client-specified AgentPool description.

name String

Specifies a unique string that identifies the agent pool. Format: projects/{project_id}/agentPools/{agent_pool_id}

state String

Specifies the state of the AgentPool.

Supporting Types

BandwidthLimitResponse

LimitMbps string

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

LimitMbps string

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

limitMbps String

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

limitMbps string

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

limit_mbps str

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

limitMbps String

Bandwidth rate in megabytes per second, distributed across all the agents in the pool.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0