octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
octopusdeploy.getTenants
Explore with Pulumi AI
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
Provides information about existing tenants.
Using getTenants
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 getTenants(args: GetTenantsArgs, opts?: InvokeOptions): Promise<GetTenantsResult>
function getTenantsOutput(args: GetTenantsOutputArgs, opts?: InvokeOptions): Output<GetTenantsResult>
def get_tenants(cloned_from_tenant_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
is_clone: Optional[bool] = None,
is_disabled: Optional[bool] = None,
name: Optional[str] = None,
partial_name: Optional[str] = None,
project_id: Optional[str] = None,
skip: Optional[float] = None,
space_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
take: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetTenantsResult
def get_tenants_output(cloned_from_tenant_id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
is_clone: Optional[pulumi.Input[bool]] = None,
is_disabled: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
partial_name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
skip: Optional[pulumi.Input[float]] = None,
space_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
take: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTenantsResult]
func GetTenants(ctx *Context, args *GetTenantsArgs, opts ...InvokeOption) (*GetTenantsResult, error)
func GetTenantsOutput(ctx *Context, args *GetTenantsOutputArgs, opts ...InvokeOption) GetTenantsResultOutput
> Note: This function is named GetTenants
in the Go SDK.
public static class GetTenants
{
public static Task<GetTenantsResult> InvokeAsync(GetTenantsArgs args, InvokeOptions? opts = null)
public static Output<GetTenantsResult> Invoke(GetTenantsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTenantsResult> getTenants(GetTenantsArgs args, InvokeOptions options)
public static Output<GetTenantsResult> getTenants(GetTenantsArgs args, InvokeOptions options)
fn::invoke:
function: octopusdeploy:index/getTenants:getTenants
arguments:
# arguments dictionary
The following arguments are supported:
- Cloned
From stringTenant Id - A filter to search for a cloned tenant by its ID.
- Ids List<string>
- A filter to search by a list of IDs.
- Is
Clone bool - A filter to search for cloned resources.
- Is
Disabled bool - A filter to search by the disabled status of a resource.
- Name string
- A filter to search by name.
- Partial
Name string - A filter to search by a partial name.
- Project
Id string - A filter to search by a project ID.
- Skip double
- A filter to specify the number of items to skip in the response.
- Space
Id string - The space ID associated with this tenants.
- List<string>
- A filter to search by a list of tags.
- Take double
- A filter to specify the number of items to take (or return) in the response.
- Cloned
From stringTenant Id - A filter to search for a cloned tenant by its ID.
- Ids []string
- A filter to search by a list of IDs.
- Is
Clone bool - A filter to search for cloned resources.
- Is
Disabled bool - A filter to search by the disabled status of a resource.
- Name string
- A filter to search by name.
- Partial
Name string - A filter to search by a partial name.
- Project
Id string - A filter to search by a project ID.
- Skip float64
- A filter to specify the number of items to skip in the response.
- Space
Id string - The space ID associated with this tenants.
- []string
- A filter to search by a list of tags.
- Take float64
- A filter to specify the number of items to take (or return) in the response.
- cloned
From StringTenant Id - A filter to search for a cloned tenant by its ID.
- ids List<String>
- A filter to search by a list of IDs.
- is
Clone Boolean - A filter to search for cloned resources.
- is
Disabled Boolean - A filter to search by the disabled status of a resource.
- name String
- A filter to search by name.
- partial
Name String - A filter to search by a partial name.
- project
Id String - A filter to search by a project ID.
- skip Double
- A filter to specify the number of items to skip in the response.
- space
Id String - The space ID associated with this tenants.
- List<String>
- A filter to search by a list of tags.
- take Double
- A filter to specify the number of items to take (or return) in the response.
- cloned
From stringTenant Id - A filter to search for a cloned tenant by its ID.
- ids string[]
- A filter to search by a list of IDs.
- is
Clone boolean - A filter to search for cloned resources.
- is
Disabled boolean - A filter to search by the disabled status of a resource.
- name string
- A filter to search by name.
- partial
Name string - A filter to search by a partial name.
- project
Id string - A filter to search by a project ID.
- skip number
- A filter to specify the number of items to skip in the response.
- space
Id string - The space ID associated with this tenants.
- string[]
- A filter to search by a list of tags.
- take number
- A filter to specify the number of items to take (or return) in the response.
- cloned_
from_ strtenant_ id - A filter to search for a cloned tenant by its ID.
- ids Sequence[str]
- A filter to search by a list of IDs.
- is_
clone bool - A filter to search for cloned resources.
- is_
disabled bool - A filter to search by the disabled status of a resource.
- name str
- A filter to search by name.
- partial_
name str - A filter to search by a partial name.
- project_
id str - A filter to search by a project ID.
- skip float
- A filter to specify the number of items to skip in the response.
- space_
id str - The space ID associated with this tenants.
- Sequence[str]
- A filter to search by a list of tags.
- take float
- A filter to specify the number of items to take (or return) in the response.
- cloned
From StringTenant Id - A filter to search for a cloned tenant by its ID.
- ids List<String>
- A filter to search by a list of IDs.
- is
Clone Boolean - A filter to search for cloned resources.
- is
Disabled Boolean - A filter to search by the disabled status of a resource.
- name String
- A filter to search by name.
- partial
Name String - A filter to search by a partial name.
- project
Id String - A filter to search by a project ID.
- skip Number
- A filter to specify the number of items to skip in the response.
- space
Id String - The space ID associated with this tenants.
- List<String>
- A filter to search by a list of tags.
- take Number
- A filter to specify the number of items to take (or return) in the response.
getTenants Result
The following output properties are available:
- Id string
- The unique ID for this resource.
- Space
Id string - The space ID associated with this tenants.
- Tenants
List<Get
Tenants Tenant> - Cloned
From stringTenant Id - A filter to search for a cloned tenant by its ID.
- Ids List<string>
- A filter to search by a list of IDs.
- Is
Clone bool - A filter to search for cloned resources.
- Is
Disabled bool - A filter to search by the disabled status of a resource.
- Name string
- A filter to search by name.
- Partial
Name string - A filter to search by a partial name.
- Project
Id string - A filter to search by a project ID.
- Skip double
- A filter to specify the number of items to skip in the response.
- List<string>
- A filter to search by a list of tags.
- Take double
- A filter to specify the number of items to take (or return) in the response.
- Id string
- The unique ID for this resource.
- Space
Id string - The space ID associated with this tenants.
- Tenants
[]Get
Tenants Tenant - Cloned
From stringTenant Id - A filter to search for a cloned tenant by its ID.
- Ids []string
- A filter to search by a list of IDs.
- Is
Clone bool - A filter to search for cloned resources.
- Is
Disabled bool - A filter to search by the disabled status of a resource.
- Name string
- A filter to search by name.
- Partial
Name string - A filter to search by a partial name.
- Project
Id string - A filter to search by a project ID.
- Skip float64
- A filter to specify the number of items to skip in the response.
- []string
- A filter to search by a list of tags.
- Take float64
- A filter to specify the number of items to take (or return) in the response.
- id String
- The unique ID for this resource.
- space
Id String - The space ID associated with this tenants.
- tenants
List<Get
Tenants Tenant> - cloned
From StringTenant Id - A filter to search for a cloned tenant by its ID.
- ids List<String>
- A filter to search by a list of IDs.
- is
Clone Boolean - A filter to search for cloned resources.
- is
Disabled Boolean - A filter to search by the disabled status of a resource.
- name String
- A filter to search by name.
- partial
Name String - A filter to search by a partial name.
- project
Id String - A filter to search by a project ID.
- skip Double
- A filter to specify the number of items to skip in the response.
- List<String>
- A filter to search by a list of tags.
- take Double
- A filter to specify the number of items to take (or return) in the response.
- id string
- The unique ID for this resource.
- space
Id string - The space ID associated with this tenants.
- tenants
Get
Tenants Tenant[] - cloned
From stringTenant Id - A filter to search for a cloned tenant by its ID.
- ids string[]
- A filter to search by a list of IDs.
- is
Clone boolean - A filter to search for cloned resources.
- is
Disabled boolean - A filter to search by the disabled status of a resource.
- name string
- A filter to search by name.
- partial
Name string - A filter to search by a partial name.
- project
Id string - A filter to search by a project ID.
- skip number
- A filter to specify the number of items to skip in the response.
- string[]
- A filter to search by a list of tags.
- take number
- A filter to specify the number of items to take (or return) in the response.
- id str
- The unique ID for this resource.
- space_
id str - The space ID associated with this tenants.
- tenants
Sequence[Get
Tenants Tenant] - cloned_
from_ strtenant_ id - A filter to search for a cloned tenant by its ID.
- ids Sequence[str]
- A filter to search by a list of IDs.
- is_
clone bool - A filter to search for cloned resources.
- is_
disabled bool - A filter to search by the disabled status of a resource.
- name str
- A filter to search by name.
- partial_
name str - A filter to search by a partial name.
- project_
id str - A filter to search by a project ID.
- skip float
- A filter to specify the number of items to skip in the response.
- Sequence[str]
- A filter to search by a list of tags.
- take float
- A filter to specify the number of items to take (or return) in the response.
- id String
- The unique ID for this resource.
- space
Id String - The space ID associated with this tenants.
- tenants List<Property Map>
- cloned
From StringTenant Id - A filter to search for a cloned tenant by its ID.
- ids List<String>
- A filter to search by a list of IDs.
- is
Clone Boolean - A filter to search for cloned resources.
- is
Disabled Boolean - A filter to search by the disabled status of a resource.
- name String
- A filter to search by name.
- partial
Name String - A filter to search by a partial name.
- project
Id String - A filter to search by a project ID.
- skip Number
- A filter to specify the number of items to skip in the response.
- List<String>
- A filter to search by a list of tags.
- take Number
- A filter to specify the number of items to take (or return) in the response.
Supporting Types
GetTenantsTenant
- Cloned
From stringTenant Id - The ID of the tenant from which this tenant was cloned.
- Description string
- The description of this tenants.
- Id string
- The unique ID for this resource.
- Is
Disabled bool - The disabled status of this tenant.
- Name string
- The name of this resource.
- Space
Id string - The space ID associated with this tenant.
- List<string>
- A list of tenant tags associated with this resource.
- Cloned
From stringTenant Id - The ID of the tenant from which this tenant was cloned.
- Description string
- The description of this tenants.
- Id string
- The unique ID for this resource.
- Is
Disabled bool - The disabled status of this tenant.
- Name string
- The name of this resource.
- Space
Id string - The space ID associated with this tenant.
- []string
- A list of tenant tags associated with this resource.
- cloned
From StringTenant Id - The ID of the tenant from which this tenant was cloned.
- description String
- The description of this tenants.
- id String
- The unique ID for this resource.
- is
Disabled Boolean - The disabled status of this tenant.
- name String
- The name of this resource.
- space
Id String - The space ID associated with this tenant.
- List<String>
- A list of tenant tags associated with this resource.
- cloned
From stringTenant Id - The ID of the tenant from which this tenant was cloned.
- description string
- The description of this tenants.
- id string
- The unique ID for this resource.
- is
Disabled boolean - The disabled status of this tenant.
- name string
- The name of this resource.
- space
Id string - The space ID associated with this tenant.
- string[]
- A list of tenant tags associated with this resource.
- cloned_
from_ strtenant_ id - The ID of the tenant from which this tenant was cloned.
- description str
- The description of this tenants.
- id str
- The unique ID for this resource.
- is_
disabled bool - The disabled status of this tenant.
- name str
- The name of this resource.
- space_
id str - The space ID associated with this tenant.
- Sequence[str]
- A list of tenant tags associated with this resource.
- cloned
From StringTenant Id - The ID of the tenant from which this tenant was cloned.
- description String
- The description of this tenants.
- id String
- The unique ID for this resource.
- is
Disabled Boolean - The disabled status of this tenant.
- name String
- The name of this resource.
- space
Id String - The space ID associated with this tenant.
- List<String>
- A list of tenant tags associated with this resource.
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