google-native.storagetransfer/v1.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:
- Agent
Pool stringId - Project string
- Agent
Pool stringId - Project string
- agent
Pool StringId - project String
- agent
Pool stringId - project string
- agent_
pool_ strid - project str
- agent
Pool StringId - project String
getAgentPool Result
The following output properties are available:
- Bandwidth
Limit Pulumi.Google Native. Storage Transfer. V1. Outputs. Bandwidth Limit Response Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
- Display
Name 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 BandwidthLimit Response Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
- Display
Name 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 BandwidthLimit Response Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
- display
Name 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 BandwidthLimit Response Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
- display
Name 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 BandwidthLimit Response 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.
- bandwidth
Limit Property Map Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
- display
Name 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
- Limit
Mbps string Bandwidth rate in megabytes per second, distributed across all the agents in the pool.
- Limit
Mbps string Bandwidth rate in megabytes per second, distributed across all the agents in the pool.
- limit
Mbps String Bandwidth rate in megabytes per second, distributed across all the agents in the pool.
- limit
Mbps 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.
- limit
Mbps String Bandwidth rate in megabytes per second, distributed across all the agents in the pool.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0