1. Packages
  2. Octopusdeploy Provider
  3. API Docs
  4. getSpace
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs

octopusdeploy.getSpace

Explore with Pulumi AI

octopusdeploy logo
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs

    Provides information about an existing space.

    Using getSpace

    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 getSpace(args: GetSpaceArgs, opts?: InvokeOptions): Promise<GetSpaceResult>
    function getSpaceOutput(args: GetSpaceOutputArgs, opts?: InvokeOptions): Output<GetSpaceResult>
    def get_space(name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetSpaceResult
    def get_space_output(name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetSpaceResult]
    func LookupSpace(ctx *Context, args *LookupSpaceArgs, opts ...InvokeOption) (*LookupSpaceResult, error)
    func LookupSpaceOutput(ctx *Context, args *LookupSpaceOutputArgs, opts ...InvokeOption) LookupSpaceResultOutput

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

    public static class GetSpace 
    {
        public static Task<GetSpaceResult> InvokeAsync(GetSpaceArgs args, InvokeOptions? opts = null)
        public static Output<GetSpaceResult> Invoke(GetSpaceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSpaceResult> getSpace(GetSpaceArgs args, InvokeOptions options)
    public static Output<GetSpaceResult> getSpace(GetSpaceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: octopusdeploy:index/getSpace:getSpace
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of this resource, no more than 20 characters long
    Name string
    The name of this resource, no more than 20 characters long
    name String
    The name of this resource, no more than 20 characters long
    name string
    The name of this resource, no more than 20 characters long
    name str
    The name of this resource, no more than 20 characters long
    name String
    The name of this resource, no more than 20 characters long

    getSpace Result

    The following output properties are available:

    Description string
    The description of this space.
    Id string
    The unique ID for this resource.
    IsDefault bool
    Specifies if this space is the default space in Octopus.
    IsTaskQueueStopped bool
    Specifies the status of the task queue for this space.
    Name string
    The name of this resource, no more than 20 characters long
    Slug string
    The unique slug of this space
    SpaceManagersTeamMembers List<string>
    A list of user IDs designated to be managers of this space.
    SpaceManagersTeams List<string>
    A list of team IDs designated to be managers of this space.
    Description string
    The description of this space.
    Id string
    The unique ID for this resource.
    IsDefault bool
    Specifies if this space is the default space in Octopus.
    IsTaskQueueStopped bool
    Specifies the status of the task queue for this space.
    Name string
    The name of this resource, no more than 20 characters long
    Slug string
    The unique slug of this space
    SpaceManagersTeamMembers []string
    A list of user IDs designated to be managers of this space.
    SpaceManagersTeams []string
    A list of team IDs designated to be managers of this space.
    description String
    The description of this space.
    id String
    The unique ID for this resource.
    isDefault Boolean
    Specifies if this space is the default space in Octopus.
    isTaskQueueStopped Boolean
    Specifies the status of the task queue for this space.
    name String
    The name of this resource, no more than 20 characters long
    slug String
    The unique slug of this space
    spaceManagersTeamMembers List<String>
    A list of user IDs designated to be managers of this space.
    spaceManagersTeams List<String>
    A list of team IDs designated to be managers of this space.
    description string
    The description of this space.
    id string
    The unique ID for this resource.
    isDefault boolean
    Specifies if this space is the default space in Octopus.
    isTaskQueueStopped boolean
    Specifies the status of the task queue for this space.
    name string
    The name of this resource, no more than 20 characters long
    slug string
    The unique slug of this space
    spaceManagersTeamMembers string[]
    A list of user IDs designated to be managers of this space.
    spaceManagersTeams string[]
    A list of team IDs designated to be managers of this space.
    description str
    The description of this space.
    id str
    The unique ID for this resource.
    is_default bool
    Specifies if this space is the default space in Octopus.
    is_task_queue_stopped bool
    Specifies the status of the task queue for this space.
    name str
    The name of this resource, no more than 20 characters long
    slug str
    The unique slug of this space
    space_managers_team_members Sequence[str]
    A list of user IDs designated to be managers of this space.
    space_managers_teams Sequence[str]
    A list of team IDs designated to be managers of this space.
    description String
    The description of this space.
    id String
    The unique ID for this resource.
    isDefault Boolean
    Specifies if this space is the default space in Octopus.
    isTaskQueueStopped Boolean
    Specifies the status of the task queue for this space.
    name String
    The name of this resource, no more than 20 characters long
    slug String
    The unique slug of this space
    spaceManagersTeamMembers List<String>
    A list of user IDs designated to be managers of this space.
    spaceManagersTeams List<String>
    A list of team IDs designated to be managers of this space.

    Package Details

    Repository
    octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
    License
    Notes
    This Pulumi package is based on the octopusdeploy Terraform Provider.
    octopusdeploy logo
    octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs