octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
octopusdeploy.getTeams
Explore with Pulumi AI
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 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>
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]
func GetTeams(ctx *Context, args *GetTeamsArgs, opts ...InvokeOption) (*GetTeamsResult, error)
func GetTeamsOutput(ctx *Context, args *GetTeamsOutputArgs, opts ...InvokeOption) GetTeamsResultOutput
> 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)
}
public static CompletableFuture<GetTeamsResult> getTeams(GetTeamsArgs args, InvokeOptions options)
public static Output<GetTeamsResult> getTeams(GetTeamsArgs args, InvokeOptions options)
fn::invoke:
function: octopusdeploy:index/getTeams:getTeams
arguments:
# arguments dictionary
The following arguments are supported:
- Ids List<string>
- A filter to search by a list of IDs.
- Include
System bool - A filter to include system teams.
- 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.
- 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.
- Include
System bool - A filter to include system teams.
- 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.
- 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.
- include
System Boolean - A filter to include system teams.
- 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.
- 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.
- include
System boolean - A filter to include system teams.
- 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.
- 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.
- include
System Boolean - A filter to include system teams.
- 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.
- 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<Get
Teams Team> - A list of teams that match the filter(s).
- Ids List<string>
- A filter to search by a list of IDs.
- Include
System bool - A filter to include system teams.
- 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.
- 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
[]Get
Teams Team - A list of teams that match the filter(s).
- Ids []string
- A filter to search by a list of IDs.
- Include
System bool - A filter to include system teams.
- 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.
- 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<Get
Teams Team> - A list of teams that match the filter(s).
- ids List<String>
- A filter to search by a list of IDs.
- include
System Boolean - A filter to include system teams.
- 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.
- 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
Get
Teams Team[] - A list of teams that match the filter(s).
- ids string[]
- A filter to search by a list of IDs.
- include
System boolean - A filter to include system teams.
- 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.
- 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[Get
Teams Team] - 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.
- include
System Boolean - A filter to include system teams.
- 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.
- 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
- Can
Be boolDeleted - Can
Be boolRenamed - Can
Change boolMembers - Can
Change boolRoles - Description string
- External
Security List<GetGroups Teams Team External Security Group> - Id string
- Name string
- Space
Id string - Users List<string>
- Can
Be boolDeleted - Can
Be boolRenamed - Can
Change boolMembers - Can
Change boolRoles - Description string
- External
Security []GetGroups Teams Team External Security Group - Id string
- Name string
- Space
Id string - Users []string
- can
Be BooleanDeleted - can
Be BooleanRenamed - can
Change BooleanMembers - can
Change BooleanRoles - description String
- external
Security List<GetGroups Teams Team External Security Group> - id String
- name String
- space
Id String - users List<String>
- can
Be booleanDeleted - can
Be booleanRenamed - can
Change booleanMembers - can
Change booleanRoles - description string
- external
Security GetGroups Teams Team External Security Group[] - id string
- name string
- space
Id string - users string[]
- can_
be_ booldeleted - can_
be_ boolrenamed - can_
change_ boolmembers - can_
change_ boolroles - description str
- external_
security_ Sequence[Getgroups Teams Team External Security Group] - id str
- name str
- space_
id str - users Sequence[str]
- can
Be BooleanDeleted - can
Be BooleanRenamed - can
Change BooleanMembers - can
Change BooleanRoles - description String
- external
Security List<Property Map>Groups - id String
- name String
- space
Id String - users List<String>
GetTeamsTeamExternalSecurityGroup
- Display
Id boolAnd Name - Display
Name string - Id string
- Display
Id boolAnd Name - Display
Name string - Id string
- display
Id BooleanAnd Name - display
Name String - id String
- display
Id booleanAnd Name - display
Name string - id string
- display_
id_ booland_ name - display_
name str - id str
- display
Id BooleanAnd Name - display
Name String - id 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