octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
octopusdeploy.getTenantProjects
Explore with Pulumi AI
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
Provides information about existing tenants.
Using getTenantProjects
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 getTenantProjects(args: GetTenantProjectsArgs, opts?: InvokeOptions): Promise<GetTenantProjectsResult>
function getTenantProjectsOutput(args: GetTenantProjectsOutputArgs, opts?: InvokeOptions): Output<GetTenantProjectsResult>
def get_tenant_projects(environment_ids: Optional[Sequence[str]] = None,
project_ids: Optional[Sequence[str]] = None,
space_id: Optional[str] = None,
tenant_ids: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetTenantProjectsResult
def get_tenant_projects_output(environment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
project_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
space_id: Optional[pulumi.Input[str]] = None,
tenant_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTenantProjectsResult]
func GetTenantProjects(ctx *Context, args *GetTenantProjectsArgs, opts ...InvokeOption) (*GetTenantProjectsResult, error)
func GetTenantProjectsOutput(ctx *Context, args *GetTenantProjectsOutputArgs, opts ...InvokeOption) GetTenantProjectsResultOutput
> Note: This function is named GetTenantProjects
in the Go SDK.
public static class GetTenantProjects
{
public static Task<GetTenantProjectsResult> InvokeAsync(GetTenantProjectsArgs args, InvokeOptions? opts = null)
public static Output<GetTenantProjectsResult> Invoke(GetTenantProjectsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTenantProjectsResult> getTenantProjects(GetTenantProjectsArgs args, InvokeOptions options)
public static Output<GetTenantProjectsResult> getTenantProjects(GetTenantProjectsArgs args, InvokeOptions options)
fn::invoke:
function: octopusdeploy:index/getTenantProjects:getTenantProjects
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Ids List<string> - A filter to search by a list of IDs.
- Project
Ids List<string> - A filter to search by a list of IDs.
- Space
Id string - The space ID associated with this tenant projects.
- Tenant
Ids List<string> - A filter to search by a list of IDs.
- Environment
Ids []string - A filter to search by a list of IDs.
- Project
Ids []string - A filter to search by a list of IDs.
- Space
Id string - The space ID associated with this tenant projects.
- Tenant
Ids []string - A filter to search by a list of IDs.
- environment
Ids List<String> - A filter to search by a list of IDs.
- project
Ids List<String> - A filter to search by a list of IDs.
- space
Id String - The space ID associated with this tenant projects.
- tenant
Ids List<String> - A filter to search by a list of IDs.
- environment
Ids string[] - A filter to search by a list of IDs.
- project
Ids string[] - A filter to search by a list of IDs.
- space
Id string - The space ID associated with this tenant projects.
- tenant
Ids string[] - A filter to search by a list of IDs.
- environment_
ids Sequence[str] - A filter to search by a list of IDs.
- project_
ids Sequence[str] - A filter to search by a list of IDs.
- space_
id str - The space ID associated with this tenant projects.
- tenant_
ids Sequence[str] - A filter to search by a list of IDs.
- environment
Ids List<String> - A filter to search by a list of IDs.
- project
Ids List<String> - A filter to search by a list of IDs.
- space
Id String - The space ID associated with this tenant projects.
- tenant
Ids List<String> - A filter to search by a list of IDs.
getTenantProjects Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Space
Id string - The space ID associated with this tenant projects.
- Tenant
Projects List<GetTenant Projects Tenant Project> - A list of related tenants, projects and environments that match the filter(s).
- Environment
Ids List<string> - A filter to search by a list of IDs.
- Project
Ids List<string> - A filter to search by a list of IDs.
- Tenant
Ids List<string> - A filter to search by a list of IDs.
- Id string
- The provider-assigned unique ID for this managed resource.
- Space
Id string - The space ID associated with this tenant projects.
- Tenant
Projects []GetTenant Projects Tenant Project - A list of related tenants, projects and environments that match the filter(s).
- Environment
Ids []string - A filter to search by a list of IDs.
- Project
Ids []string - A filter to search by a list of IDs.
- Tenant
Ids []string - A filter to search by a list of IDs.
- id String
- The provider-assigned unique ID for this managed resource.
- space
Id String - The space ID associated with this tenant projects.
- tenant
Projects List<GetTenant Projects Tenant Project> - A list of related tenants, projects and environments that match the filter(s).
- environment
Ids List<String> - A filter to search by a list of IDs.
- project
Ids List<String> - A filter to search by a list of IDs.
- tenant
Ids List<String> - A filter to search by a list of IDs.
- id string
- The provider-assigned unique ID for this managed resource.
- space
Id string - The space ID associated with this tenant projects.
- tenant
Projects GetTenant Projects Tenant Project[] - A list of related tenants, projects and environments that match the filter(s).
- environment
Ids string[] - A filter to search by a list of IDs.
- project
Ids string[] - A filter to search by a list of IDs.
- tenant
Ids string[] - A filter to search by a list of IDs.
- id str
- The provider-assigned unique ID for this managed resource.
- space_
id str - The space ID associated with this tenant projects.
- tenant_
projects Sequence[GetTenant Projects Tenant Project] - A list of related tenants, projects and environments that match the filter(s).
- environment_
ids Sequence[str] - A filter to search by a list of IDs.
- project_
ids Sequence[str] - A filter to search by a list of IDs.
- tenant_
ids Sequence[str] - A filter to search by a list of IDs.
- id String
- The provider-assigned unique ID for this managed resource.
- space
Id String - The space ID associated with this tenant projects.
- tenant
Projects List<Property Map> - A list of related tenants, projects and environments that match the filter(s).
- environment
Ids List<String> - A filter to search by a list of IDs.
- project
Ids List<String> - A filter to search by a list of IDs.
- tenant
Ids List<String> - A filter to search by a list of IDs.
Supporting Types
GetTenantProjectsTenantProject
- Environment
Ids List<string> - The environment IDs associated with this tenant.
- Id string
- The unique ID for this resource.
- Project
Id string - The project ID associated with this tenant.
- Tenant
Id string - The tenant ID associated with this tenant.
- Environment
Ids []string - The environment IDs associated with this tenant.
- Id string
- The unique ID for this resource.
- Project
Id string - The project ID associated with this tenant.
- Tenant
Id string - The tenant ID associated with this tenant.
- environment
Ids List<String> - The environment IDs associated with this tenant.
- id String
- The unique ID for this resource.
- project
Id String - The project ID associated with this tenant.
- tenant
Id String - The tenant ID associated with this tenant.
- environment
Ids string[] - The environment IDs associated with this tenant.
- id string
- The unique ID for this resource.
- project
Id string - The project ID associated with this tenant.
- tenant
Id string - The tenant ID associated with this tenant.
- environment_
ids Sequence[str] - The environment IDs associated with this tenant.
- id str
- The unique ID for this resource.
- project_
id str - The project ID associated with this tenant.
- tenant_
id str - The tenant ID associated with this tenant.
- environment
Ids List<String> - The environment IDs associated with this tenant.
- id String
- The unique ID for this resource.
- project
Id String - The project ID associated with this tenant.
- tenant
Id String - The tenant ID associated with this tenant.
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