Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.storagetransfer/v1.AgentPool
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates an agent pool resource.
Create AgentPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentPool(name: string, args: AgentPoolArgs, opts?: CustomResourceOptions);
@overload
def AgentPool(resource_name: str,
args: AgentPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_pool_id: Optional[str] = None,
bandwidth_limit: Optional[BandwidthLimitArgs] = None,
display_name: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None)
func NewAgentPool(ctx *Context, name string, args AgentPoolArgs, opts ...ResourceOption) (*AgentPool, error)
public AgentPool(string name, AgentPoolArgs args, CustomResourceOptions? opts = null)
public AgentPool(String name, AgentPoolArgs args)
public AgentPool(String name, AgentPoolArgs args, CustomResourceOptions options)
type: google-native:storagetransfer/v1:AgentPool
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 AgentPoolArgs
- 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 AgentPoolArgs
- 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 AgentPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentPoolArgs
- 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 agentPoolResource = new GoogleNative.StorageTransfer.V1.AgentPool("agentPoolResource", new()
{
AgentPoolId = "string",
BandwidthLimit = new GoogleNative.StorageTransfer.V1.Inputs.BandwidthLimitArgs
{
LimitMbps = "string",
},
DisplayName = "string",
Name = "string",
Project = "string",
});
example, err := storagetransfer.NewAgentPool(ctx, "agentPoolResource", &storagetransfer.AgentPoolArgs{
AgentPoolId: pulumi.String("string"),
BandwidthLimit: &storagetransfer.BandwidthLimitArgs{
LimitMbps: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
var agentPoolResource = new AgentPool("agentPoolResource", AgentPoolArgs.builder()
.agentPoolId("string")
.bandwidthLimit(BandwidthLimitArgs.builder()
.limitMbps("string")
.build())
.displayName("string")
.name("string")
.project("string")
.build());
agent_pool_resource = google_native.storagetransfer.v1.AgentPool("agentPoolResource",
agent_pool_id="string",
bandwidth_limit={
"limit_mbps": "string",
},
display_name="string",
name="string",
project="string")
const agentPoolResource = new google_native.storagetransfer.v1.AgentPool("agentPoolResource", {
agentPoolId: "string",
bandwidthLimit: {
limitMbps: "string",
},
displayName: "string",
name: "string",
project: "string",
});
type: google-native:storagetransfer/v1:AgentPool
properties:
agentPoolId: string
bandwidthLimit:
limitMbps: string
displayName: string
name: string
project: string
AgentPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AgentPool resource accepts the following input properties:
- Agent
Pool stringId - Required. The ID of the agent pool to create. The
agent_pool_id
must meet the following requirements: * Length of 128 characters or less. * Not start with the stringgoog
. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-
), periods (.
), underscores (_
), or tildes (~
). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression:^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$
. - Bandwidth
Limit Pulumi.Google Native. Storage Transfer. V1. Inputs. Bandwidth Limit - 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}
- Project string
- Agent
Pool stringId - Required. The ID of the agent pool to create. The
agent_pool_id
must meet the following requirements: * Length of 128 characters or less. * Not start with the stringgoog
. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-
), periods (.
), underscores (_
), or tildes (~
). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression:^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$
. - Bandwidth
Limit BandwidthLimit Args - 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}
- Project string
- agent
Pool StringId - Required. The ID of the agent pool to create. The
agent_pool_id
must meet the following requirements: * Length of 128 characters or less. * Not start with the stringgoog
. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-
), periods (.
), underscores (_
), or tildes (~
). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression:^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$
. - bandwidth
Limit BandwidthLimit - 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}
- project String
- agent
Pool stringId - Required. The ID of the agent pool to create. The
agent_pool_id
must meet the following requirements: * Length of 128 characters or less. * Not start with the stringgoog
. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-
), periods (.
), underscores (_
), or tildes (~
). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression:^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$
. - bandwidth
Limit BandwidthLimit - 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}
- project string
- agent_
pool_ strid - Required. The ID of the agent pool to create. The
agent_pool_id
must meet the following requirements: * Length of 128 characters or less. * Not start with the stringgoog
. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-
), periods (.
), underscores (_
), or tildes (~
). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression:^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$
. - bandwidth_
limit BandwidthLimit Args - 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}
- project str
- agent
Pool StringId - Required. The ID of the agent pool to create. The
agent_pool_id
must meet the following requirements: * Length of 128 characters or less. * Not start with the stringgoog
. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-
), periods (.
), underscores (_
), or tildes (~
). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression:^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$
. - 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}
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentPool resource produces the following output properties:
Supporting Types
BandwidthLimit, BandwidthLimitArgs
- 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.
BandwidthLimitResponse, BandwidthLimitResponseArgs
- 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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.