prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
prismacloud.getUserRoles
Explore with Pulumi AI
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
Retrieve a list of user roles.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getUserRoles({});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_user_roles()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/prismacloud/prismacloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := prismacloud.GetUserRoles(ctx, &prismacloud.GetUserRolesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Prismacloud = Pulumi.Prismacloud;
return await Deployment.RunAsync(() =>
{
var example = Prismacloud.GetUserRoles.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.prismacloud.PrismacloudFunctions;
import com.pulumi.prismacloud.inputs.GetUserRolesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = PrismacloudFunctions.getUserRoles();
}
}
variables:
example:
fn::invoke:
function: prismacloud:getUserRoles
arguments: {}
Using getUserRoles
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 getUserRoles(args: GetUserRolesArgs, opts?: InvokeOptions): Promise<GetUserRolesResult>
function getUserRolesOutput(args: GetUserRolesOutputArgs, opts?: InvokeOptions): Output<GetUserRolesResult>
def get_user_roles(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserRolesResult
def get_user_roles_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserRolesResult]
func GetUserRoles(ctx *Context, args *GetUserRolesArgs, opts ...InvokeOption) (*GetUserRolesResult, error)
func GetUserRolesOutput(ctx *Context, args *GetUserRolesOutputArgs, opts ...InvokeOption) GetUserRolesResultOutput
> Note: This function is named GetUserRoles
in the Go SDK.
public static class GetUserRoles
{
public static Task<GetUserRolesResult> InvokeAsync(GetUserRolesArgs args, InvokeOptions? opts = null)
public static Output<GetUserRolesResult> Invoke(GetUserRolesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserRolesResult> getUserRoles(GetUserRolesArgs args, InvokeOptions options)
public static Output<GetUserRolesResult> getUserRoles(GetUserRolesArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getUserRoles:getUserRoles
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getUserRoles Result
The following output properties are available:
- Id string
- Listings
List<Get
User Roles Listing> - List of user roles returned, as defined below.
- Total double
- (int) Total number of user roles.
- Id string
- Listings
[]Get
User Roles Listing - List of user roles returned, as defined below.
- Total float64
- (int) Total number of user roles.
- id String
- listings
List<Get
User Roles Listing> - List of user roles returned, as defined below.
- total Double
- (int) Total number of user roles.
- id string
- listings
Get
User Roles Listing[] - List of user roles returned, as defined below.
- total number
- (int) Total number of user roles.
- id str
- listings
Sequence[Get
User Roles Listing] - List of user roles returned, as defined below.
- total float
- (int) Total number of user roles.
- id String
- listings List<Property Map>
- List of user roles returned, as defined below.
- total Number
- (int) Total number of user roles.
Supporting Types
GetUserRolesListing
- Account
Groups List<GetUser Roles Listing Account Group> - List of associated account groups, as defined below.
- Additional
Attributes List<GetUser Roles Listing Additional Attribute> - An Additional attributes spec, as defined below.
- Associated
Users List<string> - List of associated application users which cannot exist in the system without the user role.
- Last
Modified stringBy - Last modified by.
- Last
Modified doubleTs - (int) Last modified timestamp.
- Name string
- Group name.
- Restrict
Dismissal boolAccess - (bool) Restrict dismissal access.
- Role
Id string - Role Id
- Role
Type string - User role type.
- Account
Groups []GetUser Roles Listing Account Group - List of associated account groups, as defined below.
- Additional
Attributes []GetUser Roles Listing Additional Attribute - An Additional attributes spec, as defined below.
- Associated
Users []string - List of associated application users which cannot exist in the system without the user role.
- Last
Modified stringBy - Last modified by.
- Last
Modified float64Ts - (int) Last modified timestamp.
- Name string
- Group name.
- Restrict
Dismissal boolAccess - (bool) Restrict dismissal access.
- Role
Id string - Role Id
- Role
Type string - User role type.
- account
Groups List<GetUser Roles Listing Account Group> - List of associated account groups, as defined below.
- additional
Attributes List<GetUser Roles Listing Additional Attribute> - An Additional attributes spec, as defined below.
- associated
Users List<String> - List of associated application users which cannot exist in the system without the user role.
- last
Modified StringBy - Last modified by.
- last
Modified DoubleTs - (int) Last modified timestamp.
- name String
- Group name.
- restrict
Dismissal BooleanAccess - (bool) Restrict dismissal access.
- role
Id String - Role Id
- role
Type String - User role type.
- account
Groups GetUser Roles Listing Account Group[] - List of associated account groups, as defined below.
- additional
Attributes GetUser Roles Listing Additional Attribute[] - An Additional attributes spec, as defined below.
- associated
Users string[] - List of associated application users which cannot exist in the system without the user role.
- last
Modified stringBy - Last modified by.
- last
Modified numberTs - (int) Last modified timestamp.
- name string
- Group name.
- restrict
Dismissal booleanAccess - (bool) Restrict dismissal access.
- role
Id string - Role Id
- role
Type string - User role type.
- account_
groups Sequence[GetUser Roles Listing Account Group] - List of associated account groups, as defined below.
- additional_
attributes Sequence[GetUser Roles Listing Additional Attribute] - An Additional attributes spec, as defined below.
- associated_
users Sequence[str] - List of associated application users which cannot exist in the system without the user role.
- last_
modified_ strby - Last modified by.
- last_
modified_ floatts - (int) Last modified timestamp.
- name str
- Group name.
- restrict_
dismissal_ boolaccess - (bool) Restrict dismissal access.
- role_
id str - Role Id
- role_
type str - User role type.
- account
Groups List<Property Map> - List of associated account groups, as defined below.
- additional
Attributes List<Property Map> - An Additional attributes spec, as defined below.
- associated
Users List<String> - List of associated application users which cannot exist in the system without the user role.
- last
Modified StringBy - Last modified by.
- last
Modified NumberTs - (int) Last modified timestamp.
- name String
- Group name.
- restrict
Dismissal BooleanAccess - (bool) Restrict dismissal access.
- role
Id String - Role Id
- role
Type String - User role type.
GetUserRolesListingAccountGroup
GetUserRolesListingAdditionalAttribute
- Has
Defender boolPermissions - (bool) - Has defender Permissions.
- Only
Allow boolCi Access - (bool) - Allows only CI Access.
- Only
Allow boolCompute Access - (bool) - Access to only Compute tab and Access keys.
- Only
Allow boolRead Access - (bool) - Allow read only access.
- Has
Defender boolPermissions - (bool) - Has defender Permissions.
- Only
Allow boolCi Access - (bool) - Allows only CI Access.
- Only
Allow boolCompute Access - (bool) - Access to only Compute tab and Access keys.
- Only
Allow boolRead Access - (bool) - Allow read only access.
- has
Defender BooleanPermissions - (bool) - Has defender Permissions.
- only
Allow BooleanCi Access - (bool) - Allows only CI Access.
- only
Allow BooleanCompute Access - (bool) - Access to only Compute tab and Access keys.
- only
Allow BooleanRead Access - (bool) - Allow read only access.
- has
Defender booleanPermissions - (bool) - Has defender Permissions.
- only
Allow booleanCi Access - (bool) - Allows only CI Access.
- only
Allow booleanCompute Access - (bool) - Access to only Compute tab and Access keys.
- only
Allow booleanRead Access - (bool) - Allow read only access.
- has_
defender_ boolpermissions - (bool) - Has defender Permissions.
- only_
allow_ boolci_ access - (bool) - Allows only CI Access.
- only_
allow_ boolcompute_ access - (bool) - Access to only Compute tab and Access keys.
- only_
allow_ boolread_ access - (bool) - Allow read only access.
- has
Defender BooleanPermissions - (bool) - Has defender Permissions.
- only
Allow BooleanCi Access - (bool) - Allows only CI Access.
- only
Allow BooleanCompute Access - (bool) - Access to only Compute tab and Access keys.
- only
Allow BooleanRead Access - (bool) - Allow read only access.
Package Details
- Repository
- prismacloud paloaltonetworks/terraform-provider-prismacloud
- License
- Notes
- This Pulumi package is based on the
prismacloud
Terraform Provider.
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks