Viewing docs for Buildkite v3.2.0
published on Monday, Feb 23, 2026 by Pulumiverse
published on Monday, Feb 23, 2026 by Pulumiverse
Viewing docs for Buildkite v3.2.0
published on Monday, Feb 23, 2026 by Pulumiverse
published on Monday, Feb 23, 2026 by Pulumiverse
Use this data source to retrieve all portals for an organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as buildkite from "@pulumiverse/buildkite";
const all = buildkite.Organization.getPortals({});
export const userInvokablePortals = all.then(all => .filter(portal => portal.userInvokable).map(portal => (portal.name)));
import pulumi
import pulumi_buildkite as buildkite
all = buildkite.Organization.get_portals()
pulumi.export("userInvokablePortals", [portal.name for portal in all.portals if portal.user_invokable])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Buildkite = Pulumiverse.Buildkite;
return await Deployment.RunAsync(() =>
{
var all = Buildkite.Organization.GetPortals.Invoke();
return new Dictionary<string, object?>
{
["userInvokablePortals"] = .Where(portal => portal.UserInvokable).Select(portal =>
{
return portal.Name;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
Using getPortals
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 getPortals(opts?: InvokeOptions): Promise<GetPortalsResult>
function getPortalsOutput(opts?: InvokeOptions): Output<GetPortalsResult>def get_portals(opts: Optional[InvokeOptions] = None) -> GetPortalsResult
def get_portals_output(opts: Optional[InvokeOptions] = None) -> Output[GetPortalsResult]func GetPortals(ctx *Context, opts ...InvokeOption) (*GetPortalsResult, error)
func GetPortalsOutput(ctx *Context, opts ...InvokeOption) GetPortalsResultOutput> Note: This function is named GetPortals in the Go SDK.
public static class GetPortals
{
public static Task<GetPortalsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetPortalsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetPortalsResult> getPortals(InvokeOptions options)
public static Output<GetPortalsResult> getPortals(InvokeOptions options)
fn::invoke:
function: buildkite:Organization/getPortals:getPortals
arguments:
# arguments dictionarygetPortals Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Portals
List<Pulumiverse.
Buildkite. Organization. Outputs. Get Portals Portal>
- Id string
- The provider-assigned unique ID for this managed resource.
- Portals
[]Get
Portals Portal
- id String
- The provider-assigned unique ID for this managed resource.
- portals
List<Get
Portals Portal>
- id string
- The provider-assigned unique ID for this managed resource.
- portals
Get
Portals Portal[]
- id str
- The provider-assigned unique ID for this managed resource.
- portals
Sequence[Get
Portals Portal]
- id String
- The provider-assigned unique ID for this managed resource.
- portals List<Property Map>
Supporting Types
GetPortalsPortal
- Allowed
Ip stringAddresses - Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal.
- Created
At string - The time when the portal was created.
- Created
By Pulumiverse.Buildkite. Organization. Inputs. Get Portals Portal Created By - Information about the user who created the portal.
- Description string
- The description of the portal.
- Name string
- The name of the portal.
- Query string
- The GraphQL query that the portal executes.
- Slug string
- The slug of the portal.
- User
Invokable bool - Whether users can invoke the portal.
- Uuid string
- The UUID of the portal.
- Allowed
Ip stringAddresses - Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal.
- Created
At string - The time when the portal was created.
- Created
By GetPortals Portal Created By - Information about the user who created the portal.
- Description string
- The description of the portal.
- Name string
- The name of the portal.
- Query string
- The GraphQL query that the portal executes.
- Slug string
- The slug of the portal.
- User
Invokable bool - Whether users can invoke the portal.
- Uuid string
- The UUID of the portal.
- allowed
Ip StringAddresses - Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal.
- created
At String - The time when the portal was created.
- created
By GetPortals Portal Created By - Information about the user who created the portal.
- description String
- The description of the portal.
- name String
- The name of the portal.
- query String
- The GraphQL query that the portal executes.
- slug String
- The slug of the portal.
- user
Invokable Boolean - Whether users can invoke the portal.
- uuid String
- The UUID of the portal.
- allowed
Ip stringAddresses - Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal.
- created
At string - The time when the portal was created.
- created
By GetPortals Portal Created By - Information about the user who created the portal.
- description string
- The description of the portal.
- name string
- The name of the portal.
- query string
- The GraphQL query that the portal executes.
- slug string
- The slug of the portal.
- user
Invokable boolean - Whether users can invoke the portal.
- uuid string
- The UUID of the portal.
- allowed_
ip_ straddresses - Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal.
- created_
at str - The time when the portal was created.
- created_
by GetPortals Portal Created By - Information about the user who created the portal.
- description str
- The description of the portal.
- name str
- The name of the portal.
- query str
- The GraphQL query that the portal executes.
- slug str
- The slug of the portal.
- user_
invokable bool - Whether users can invoke the portal.
- uuid str
- The UUID of the portal.
- allowed
Ip StringAddresses - Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal.
- created
At String - The time when the portal was created.
- created
By Property Map - Information about the user who created the portal.
- description String
- The description of the portal.
- name String
- The name of the portal.
- query String
- The GraphQL query that the portal executes.
- slug String
- The slug of the portal.
- user
Invokable Boolean - Whether users can invoke the portal.
- uuid String
- The UUID of the portal.
GetPortalsPortalCreatedBy
Package Details
- Repository
- buildkite pulumiverse/pulumi-buildkite
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
buildkiteTerraform Provider.
Viewing docs for Buildkite v3.2.0
published on Monday, Feb 23, 2026 by Pulumiverse
published on Monday, Feb 23, 2026 by Pulumiverse
