octopusdeploy 0.43.0 published on Thursday, Apr 17, 2025 by octopusdeploylabs
octopusdeploy.getWorkerPools
Explore with Pulumi AI
octopusdeploy 0.43.0 published on Thursday, Apr 17, 2025 by octopusdeploylabs
Provides information about existing worker pools.
Using getWorkerPools
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 getWorkerPools(args: GetWorkerPoolsArgs, opts?: InvokeOptions): Promise<GetWorkerPoolsResult>
function getWorkerPoolsOutput(args: GetWorkerPoolsOutputArgs, opts?: InvokeOptions): Output<GetWorkerPoolsResult>
def get_worker_pools(id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
partial_name: Optional[str] = None,
skip: Optional[float] = None,
space_id: Optional[str] = None,
take: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkerPoolsResult
def get_worker_pools_output(id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
partial_name: Optional[pulumi.Input[str]] = None,
skip: Optional[pulumi.Input[float]] = None,
space_id: Optional[pulumi.Input[str]] = None,
take: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkerPoolsResult]
func GetWorkerPools(ctx *Context, args *GetWorkerPoolsArgs, opts ...InvokeOption) (*GetWorkerPoolsResult, error)
func GetWorkerPoolsOutput(ctx *Context, args *GetWorkerPoolsOutputArgs, opts ...InvokeOption) GetWorkerPoolsResultOutput
> Note: This function is named GetWorkerPools
in the Go SDK.
public static class GetWorkerPools
{
public static Task<GetWorkerPoolsResult> InvokeAsync(GetWorkerPoolsArgs args, InvokeOptions? opts = null)
public static Output<GetWorkerPoolsResult> Invoke(GetWorkerPoolsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkerPoolsResult> getWorkerPools(GetWorkerPoolsArgs args, InvokeOptions options)
public static Output<GetWorkerPoolsResult> getWorkerPools(GetWorkerPoolsArgs args, InvokeOptions options)
fn::invoke:
function: octopusdeploy:index/getWorkerPools:getWorkerPools
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ID of this resource.
- Ids List<string>
- A filter to search by a list of IDs.
- Name string
- A filter to search by name.
- Partial
Name string - A filter to search by the partial match of a name.
- Skip double
- A filter to specify the number of items to skip in the response.
- Space
Id string - The space ID associated with this resource.
- Take double
- A filter to specify the number of items to take (or return) in the response.
- Id string
- The ID of this resource.
- Ids []string
- A filter to search by a list of IDs.
- Name string
- A filter to search by name.
- Partial
Name string - A filter to search by the partial match of a name.
- Skip float64
- A filter to specify the number of items to skip in the response.
- Space
Id string - The space ID associated with this resource.
- Take float64
- A filter to specify the number of items to take (or return) in the response.
- id String
- The ID of this resource.
- ids List<String>
- A filter to search by a list of IDs.
- name String
- A filter to search by name.
- partial
Name String - A filter to search by the partial match of a name.
- skip Double
- A filter to specify the number of items to skip in the response.
- space
Id String - The space ID associated with this resource.
- take Double
- A filter to specify the number of items to take (or return) in the response.
- id string
- The ID of this resource.
- ids string[]
- A filter to search by a list of IDs.
- name string
- A filter to search by name.
- partial
Name string - A filter to search by the partial match of a name.
- skip number
- A filter to specify the number of items to skip in the response.
- space
Id string - The space ID associated with this resource.
- take number
- A filter to specify the number of items to take (or return) in the response.
- id str
- The ID of this resource.
- ids Sequence[str]
- A filter to search by a list of IDs.
- name str
- A filter to search by name.
- partial_
name str - A filter to search by the partial match of a name.
- skip float
- A filter to specify the number of items to skip in the response.
- space_
id str - The space ID associated with this resource.
- take float
- A filter to specify the number of items to take (or return) in the response.
- id String
- The ID of this resource.
- ids List<String>
- A filter to search by a list of IDs.
- name String
- A filter to search by name.
- partial
Name String - A filter to search by the partial match of a name.
- skip Number
- A filter to specify the number of items to skip in the response.
- space
Id String - The space ID associated with this resource.
- take Number
- A filter to specify the number of items to take (or return) in the response.
getWorkerPools Result
The following output properties are available:
- Id string
- The ID of this resource.
- Space
Id string - The space ID associated with this resource.
- Worker
Pools List<GetWorker Pools Worker Pool> - A list of worker pools that match the filter(s).
- Ids List<string>
- A filter to search by a list of IDs.
- Name string
- A filter to search by name.
- Partial
Name string - A filter to search by the partial match of a name.
- Skip double
- A filter to specify the number of items to skip in the response.
- Take double
- A filter to specify the number of items to take (or return) in the response.
- Id string
- The ID of this resource.
- Space
Id string - The space ID associated with this resource.
- Worker
Pools []GetWorker Pools Worker Pool - A list of worker pools that match the filter(s).
- Ids []string
- A filter to search by a list of IDs.
- Name string
- A filter to search by name.
- Partial
Name string - A filter to search by the partial match of a name.
- Skip float64
- A filter to specify the number of items to skip in the response.
- Take float64
- A filter to specify the number of items to take (or return) in the response.
- id String
- The ID of this resource.
- space
Id String - The space ID associated with this resource.
- worker
Pools List<GetWorker Pools Worker Pool> - A list of worker pools that match the filter(s).
- ids List<String>
- A filter to search by a list of IDs.
- name String
- A filter to search by name.
- partial
Name String - A filter to search by the partial match of a name.
- skip Double
- A filter to specify the number of items to skip in the response.
- take Double
- A filter to specify the number of items to take (or return) in the response.
- id string
- The ID of this resource.
- space
Id string - The space ID associated with this resource.
- worker
Pools GetWorker Pools Worker Pool[] - A list of worker pools that match the filter(s).
- ids string[]
- A filter to search by a list of IDs.
- name string
- A filter to search by name.
- partial
Name string - A filter to search by the partial match of a name.
- skip number
- A filter to specify the number of items to skip in the response.
- take number
- A filter to specify the number of items to take (or return) in the response.
- id str
- The ID of this resource.
- space_
id str - The space ID associated with this resource.
- worker_
pools Sequence[GetWorker Pools Worker Pool] - A list of worker pools that match the filter(s).
- ids Sequence[str]
- A filter to search by a list of IDs.
- name str
- A filter to search by name.
- partial_
name str - A filter to search by the partial match of a name.
- skip float
- A filter to specify the number of items to skip in the response.
- take float
- A filter to specify the number of items to take (or return) in the response.
- id String
- The ID of this resource.
- space
Id String - The space ID associated with this resource.
- worker
Pools List<Property Map> - A list of worker pools that match the filter(s).
- ids List<String>
- A filter to search by a list of IDs.
- name String
- A filter to search by name.
- partial
Name String - A filter to search by the partial match of a name.
- skip Number
- A filter to specify the number of items to skip in the response.
- take Number
- A filter to specify the number of items to take (or return) in the response.
Supporting Types
GetWorkerPoolsWorkerPool
- Can
Add Workers This property is required. bool - Description
This property is required. string - Id
This property is required. string - Is
Default This property is required. bool - Name
This property is required. string - Sort
Order This property is required. double - Space
Id This property is required. string - Worker
Pool Type This property is required. string - Worker
Type This property is required. string
- Can
Add Workers This property is required. bool - Description
This property is required. string - Id
This property is required. string - Is
Default This property is required. bool - Name
This property is required. string - Sort
Order This property is required. float64 - Space
Id This property is required. string - Worker
Pool Type This property is required. string - Worker
Type This property is required. string
- can
Add Workers This property is required. Boolean - description
This property is required. String - id
This property is required. String - is
Default This property is required. Boolean - name
This property is required. String - sort
Order This property is required. Double - space
Id This property is required. String - worker
Pool Type This property is required. String - worker
Type This property is required. String
- can
Add Workers This property is required. boolean - description
This property is required. string - id
This property is required. string - is
Default This property is required. boolean - name
This property is required. string - sort
Order This property is required. number - space
Id This property is required. string - worker
Pool Type This property is required. string - worker
Type This property is required. string
- can_
add_ workers This property is required. bool - description
This property is required. str - id
This property is required. str - is_
default This property is required. bool - name
This property is required. str - sort_
order This property is required. float - space_
id This property is required. str - worker_
pool_ type This property is required. str - worker_
type This property is required. str
- can
Add Workers This property is required. Boolean - description
This property is required. String - id
This property is required. String - is
Default This property is required. Boolean - name
This property is required. String - sort
Order This property is required. Number - space
Id This property is required. String - worker
Pool Type This property is required. String - worker
Type This property is required. String
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the
octopusdeploy
Terraform Provider.
octopusdeploy 0.43.0 published on Thursday, Apr 17, 2025 by octopusdeploylabs