This provider is currently in preview.
published on Tuesday, Apr 28, 2026 by Pulumi
This provider is currently in preview.
published on Tuesday, Apr 28, 2026 by Pulumi
Lists the permission scopes available for custom roles in an organization. Use this to discover valid scope names before setting OrganizationRole.permissions. The catalogue is flattened into a single list with resource type and group context, sorted deterministically.
Using getOrganizationRoleScopes
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 getOrganizationRoleScopes(args: GetOrganizationRoleScopesArgs, opts?: InvokeOptions): Promise<GetOrganizationRoleScopesResult>
function getOrganizationRoleScopesOutput(args: GetOrganizationRoleScopesOutputArgs, opts?: InvokeOptions): Output<GetOrganizationRoleScopesResult>def get_organization_role_scopes(organization_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationRoleScopesResult
def get_organization_role_scopes_output(organization_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationRoleScopesResult]func GetOrganizationRoleScopes(ctx *Context, args *GetOrganizationRoleScopesArgs, opts ...InvokeOption) (*GetOrganizationRoleScopesResult, error)
func GetOrganizationRoleScopesOutput(ctx *Context, args *GetOrganizationRoleScopesOutputArgs, opts ...InvokeOption) GetOrganizationRoleScopesResultOutput> Note: This function is named GetOrganizationRoleScopes in the Go SDK.
public static class GetOrganizationRoleScopes
{
public static Task<GetOrganizationRoleScopesResult> InvokeAsync(GetOrganizationRoleScopesArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationRoleScopesResult> Invoke(GetOrganizationRoleScopesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrganizationRoleScopesResult> getOrganizationRoleScopes(GetOrganizationRoleScopesArgs args, InvokeOptions options)
public static Output<GetOrganizationRoleScopesResult> getOrganizationRoleScopes(GetOrganizationRoleScopesArgs args, InvokeOptions options)
fn::invoke:
function: pulumiservice:getOrganizationRoleScopes
arguments:
# arguments dictionaryThe following arguments are supported:
- Organization
Name string - The Pulumi Cloud organization name.
- Organization
Name string - The Pulumi Cloud organization name.
- organization
Name String - The Pulumi Cloud organization name.
- organization
Name string - The Pulumi Cloud organization name.
- organization_
name str - The Pulumi Cloud organization name.
- organization
Name String - The Pulumi Cloud organization name.
getOrganizationRoleScopes Result
The following output properties are available:
Supporting Types
RoleScopeInfo
- Description string
- Human-readable description of what the scope grants.
- Group
Name string - The scope group label as shown in the Pulumi Cloud console (e.g.
Stacks). - Name string
- The scope name (e.g.
stack:read). - Resource
Type string - The resource-type bucket the scope belongs to (e.g.
stack,team).
- Description string
- Human-readable description of what the scope grants.
- Group
Name string - The scope group label as shown in the Pulumi Cloud console (e.g.
Stacks). - Name string
- The scope name (e.g.
stack:read). - Resource
Type string - The resource-type bucket the scope belongs to (e.g.
stack,team).
- description String
- Human-readable description of what the scope grants.
- group
Name String - The scope group label as shown in the Pulumi Cloud console (e.g.
Stacks). - name String
- The scope name (e.g.
stack:read). - resource
Type String - The resource-type bucket the scope belongs to (e.g.
stack,team).
- description string
- Human-readable description of what the scope grants.
- group
Name string - The scope group label as shown in the Pulumi Cloud console (e.g.
Stacks). - name string
- The scope name (e.g.
stack:read). - resource
Type string - The resource-type bucket the scope belongs to (e.g.
stack,team).
- description str
- Human-readable description of what the scope grants.
- group_
name str - The scope group label as shown in the Pulumi Cloud console (e.g.
Stacks). - name str
- The scope name (e.g.
stack:read). - resource_
type str - The resource-type bucket the scope belongs to (e.g.
stack,team).
- description String
- Human-readable description of what the scope grants.
- group
Name String - The scope group label as shown in the Pulumi Cloud console (e.g.
Stacks). - name String
- The scope name (e.g.
stack:read). - resource
Type String - The resource-type bucket the scope belongs to (e.g.
stack,team).
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
published on Tuesday, Apr 28, 2026 by Pulumi
