1. Packages
  2. Octopusdeploy Provider
  3. API Docs
  4. getTeams
octopusdeploy 0.43.0 published on Thursday, Apr 17, 2025 by octopusdeploylabs

octopusdeploy.getTeams

Explore with Pulumi AI

octopusdeploy 0.43.0 published on Thursday, Apr 17, 2025 by octopusdeploylabs

Provides information about existing users.

Using getTeams

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 getTeams(args: GetTeamsArgs, opts?: InvokeOptions): Promise<GetTeamsResult>
function getTeamsOutput(args: GetTeamsOutputArgs, opts?: InvokeOptions): Output<GetTeamsResult>
Copy
def get_teams(ids: Optional[Sequence[str]] = None,
              include_system: Optional[bool] = None,
              partial_name: Optional[str] = None,
              skip: Optional[float] = None,
              spaces: Optional[Sequence[str]] = None,
              take: Optional[float] = None,
              opts: Optional[InvokeOptions] = None) -> GetTeamsResult
def get_teams_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              include_system: Optional[pulumi.Input[bool]] = None,
              partial_name: Optional[pulumi.Input[str]] = None,
              skip: Optional[pulumi.Input[float]] = None,
              spaces: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              take: Optional[pulumi.Input[float]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetTeamsResult]
Copy
func GetTeams(ctx *Context, args *GetTeamsArgs, opts ...InvokeOption) (*GetTeamsResult, error)
func GetTeamsOutput(ctx *Context, args *GetTeamsOutputArgs, opts ...InvokeOption) GetTeamsResultOutput
Copy

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

public static class GetTeams 
{
    public static Task<GetTeamsResult> InvokeAsync(GetTeamsArgs args, InvokeOptions? opts = null)
    public static Output<GetTeamsResult> Invoke(GetTeamsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTeamsResult> getTeams(GetTeamsArgs args, InvokeOptions options)
public static Output<GetTeamsResult> getTeams(GetTeamsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: octopusdeploy:index/getTeams:getTeams
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Ids List<string>
A filter to search by a list of IDs.
IncludeSystem bool
A filter to include system teams.
PartialName 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.
Spaces List<string>
A filter to search by a list of space IDs.
Take double
A filter to specify the number of items to take (or return) in the response.
Ids []string
A filter to search by a list of IDs.
IncludeSystem bool
A filter to include system teams.
PartialName 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.
Spaces []string
A filter to search by a list of space IDs.
Take float64
A filter to specify the number of items to take (or return) in the response.
ids List<String>
A filter to search by a list of IDs.
includeSystem Boolean
A filter to include system teams.
partialName 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.
spaces List<String>
A filter to search by a list of space IDs.
take Double
A filter to specify the number of items to take (or return) in the response.
ids string[]
A filter to search by a list of IDs.
includeSystem boolean
A filter to include system teams.
partialName 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.
spaces string[]
A filter to search by a list of space IDs.
take number
A filter to specify the number of items to take (or return) in the response.
ids Sequence[str]
A filter to search by a list of IDs.
include_system bool
A filter to include system teams.
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.
spaces Sequence[str]
A filter to search by a list of space IDs.
take float
A filter to specify the number of items to take (or return) in the response.
ids List<String>
A filter to search by a list of IDs.
includeSystem Boolean
A filter to include system teams.
partialName 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.
spaces List<String>
A filter to search by a list of space IDs.
take Number
A filter to specify the number of items to take (or return) in the response.

getTeams Result

The following output properties are available:

Id string
An auto-generated identifier that includes the timestamp when this data source was last modified.
Teams List<GetTeamsTeam>
A list of teams that match the filter(s).
Ids List<string>
A filter to search by a list of IDs.
IncludeSystem bool
A filter to include system teams.
PartialName 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.
Spaces List<string>
A filter to search by a list of space IDs.
Take double
A filter to specify the number of items to take (or return) in the response.
Id string
An auto-generated identifier that includes the timestamp when this data source was last modified.
Teams []GetTeamsTeam
A list of teams that match the filter(s).
Ids []string
A filter to search by a list of IDs.
IncludeSystem bool
A filter to include system teams.
PartialName 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.
Spaces []string
A filter to search by a list of space IDs.
Take float64
A filter to specify the number of items to take (or return) in the response.
id String
An auto-generated identifier that includes the timestamp when this data source was last modified.
teams List<GetTeamsTeam>
A list of teams that match the filter(s).
ids List<String>
A filter to search by a list of IDs.
includeSystem Boolean
A filter to include system teams.
partialName 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.
spaces List<String>
A filter to search by a list of space IDs.
take Double
A filter to specify the number of items to take (or return) in the response.
id string
An auto-generated identifier that includes the timestamp when this data source was last modified.
teams GetTeamsTeam[]
A list of teams that match the filter(s).
ids string[]
A filter to search by a list of IDs.
includeSystem boolean
A filter to include system teams.
partialName 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.
spaces string[]
A filter to search by a list of space IDs.
take number
A filter to specify the number of items to take (or return) in the response.
id str
An auto-generated identifier that includes the timestamp when this data source was last modified.
teams Sequence[GetTeamsTeam]
A list of teams that match the filter(s).
ids Sequence[str]
A filter to search by a list of IDs.
include_system bool
A filter to include system teams.
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.
spaces Sequence[str]
A filter to search by a list of space IDs.
take float
A filter to specify the number of items to take (or return) in the response.
id String
An auto-generated identifier that includes the timestamp when this data source was last modified.
teams List<Property Map>
A list of teams that match the filter(s).
ids List<String>
A filter to search by a list of IDs.
includeSystem Boolean
A filter to include system teams.
partialName 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.
spaces List<String>
A filter to search by a list of space IDs.
take Number
A filter to specify the number of items to take (or return) in the response.

Supporting Types

GetTeamsTeam

CanBeDeleted This property is required. bool
CanBeRenamed This property is required. bool
CanChangeMembers This property is required. bool
CanChangeRoles This property is required. bool
Description This property is required. string
ExternalSecurityGroups This property is required. List<GetTeamsTeamExternalSecurityGroup>
Id This property is required. string
Name This property is required. string
SpaceId This property is required. string
Users This property is required. List<string>
CanBeDeleted This property is required. bool
CanBeRenamed This property is required. bool
CanChangeMembers This property is required. bool
CanChangeRoles This property is required. bool
Description This property is required. string
ExternalSecurityGroups This property is required. []GetTeamsTeamExternalSecurityGroup
Id This property is required. string
Name This property is required. string
SpaceId This property is required. string
Users This property is required. []string
canBeDeleted This property is required. Boolean
canBeRenamed This property is required. Boolean
canChangeMembers This property is required. Boolean
canChangeRoles This property is required. Boolean
description This property is required. String
externalSecurityGroups This property is required. List<GetTeamsTeamExternalSecurityGroup>
id This property is required. String
name This property is required. String
spaceId This property is required. String
users This property is required. List<String>
canBeDeleted This property is required. boolean
canBeRenamed This property is required. boolean
canChangeMembers This property is required. boolean
canChangeRoles This property is required. boolean
description This property is required. string
externalSecurityGroups This property is required. GetTeamsTeamExternalSecurityGroup[]
id This property is required. string
name This property is required. string
spaceId This property is required. string
users This property is required. string[]
can_be_deleted This property is required. bool
can_be_renamed This property is required. bool
can_change_members This property is required. bool
can_change_roles This property is required. bool
description This property is required. str
external_security_groups This property is required. Sequence[GetTeamsTeamExternalSecurityGroup]
id This property is required. str
name This property is required. str
space_id This property is required. str
users This property is required. Sequence[str]
canBeDeleted This property is required. Boolean
canBeRenamed This property is required. Boolean
canChangeMembers This property is required. Boolean
canChangeRoles This property is required. Boolean
description This property is required. String
externalSecurityGroups This property is required. List<Property Map>
id This property is required. String
name This property is required. String
spaceId This property is required. String
users This property is required. List<String>

GetTeamsTeamExternalSecurityGroup

DisplayIdAndName This property is required. bool
DisplayName This property is required. string
Id This property is required. string
DisplayIdAndName This property is required. bool
DisplayName This property is required. string
Id This property is required. string
displayIdAndName This property is required. Boolean
displayName This property is required. String
id This property is required. String
displayIdAndName This property is required. boolean
displayName This property is required. string
id This property is required. string
display_id_and_name This property is required. bool
display_name This property is required. str
id This property is required. str
displayIdAndName This property is required. Boolean
displayName This property is required. String
id 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