octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
octopusdeploy.getWorkerPools
Explore with Pulumi AI
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 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 boolWorkers - Description string
- Id string
- Is
Default bool - Name string
- Sort
Order double - Space
Id string - Worker
Pool stringType - Worker
Type string
- Can
Add boolWorkers - Description string
- Id string
- Is
Default bool - Name string
- Sort
Order float64 - Space
Id string - Worker
Pool stringType - Worker
Type string
- can
Add BooleanWorkers - description String
- id String
- is
Default Boolean - name String
- sort
Order Double - space
Id String - worker
Pool StringType - worker
Type String
- can
Add booleanWorkers - description string
- id string
- is
Default boolean - name string
- sort
Order number - space
Id string - worker
Pool stringType - worker
Type string
- can_
add_ boolworkers - description str
- id str
- is_
default bool - name str
- sort_
order float - space_
id str - worker_
pool_ strtype - worker_
type str
- can
Add BooleanWorkers - description String
- id String
- is
Default Boolean - name String
- sort
Order Number - space
Id String - worker
Pool StringType - worker
Type String
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the
octopusdeploy
Terraform Provider.
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs