UNPKG

@pulumi/pulumiservice

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fpulumiservice.svg)](https://www.npmjs.com/package/@pulumi/pulumiservice) [![Python version](https://badge.fury.io

26 lines 1.45 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * 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. */ export declare function getOrganizationRoleScopes(args: GetOrganizationRoleScopesArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationRoleScopesResult>; export interface GetOrganizationRoleScopesArgs { /** * The Pulumi Cloud organization name. */ organizationName: string; } export interface GetOrganizationRoleScopesResult { readonly scopes: outputs.RoleScopeInfo[]; } /** * 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. */ export declare function getOrganizationRoleScopesOutput(args: GetOrganizationRoleScopesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationRoleScopesResult>; export interface GetOrganizationRoleScopesOutputArgs { /** * The Pulumi Cloud organization name. */ organizationName: pulumi.Input<string>; } //# sourceMappingURL=getOrganizationRoleScopes.d.ts.map