prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
prismacloud.getUserProfiles
Explore with Pulumi AI
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
Retrieve a list of user profiles.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getUserProfiles({});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_user_profiles()
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.GetUserProfiles(ctx, &prismacloud.GetUserProfilesArgs{}, 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.GetUserProfiles.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.GetUserProfilesArgs;
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.getUserProfiles();
}
}
variables:
example:
fn::invoke:
function: prismacloud:getUserProfiles
arguments: {}
Using getUserProfiles
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 getUserProfiles(args: GetUserProfilesArgs, opts?: InvokeOptions): Promise<GetUserProfilesResult>
function getUserProfilesOutput(args: GetUserProfilesOutputArgs, opts?: InvokeOptions): Output<GetUserProfilesResult>
def get_user_profiles(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserProfilesResult
def get_user_profiles_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserProfilesResult]
func GetUserProfiles(ctx *Context, args *GetUserProfilesArgs, opts ...InvokeOption) (*GetUserProfilesResult, error)
func GetUserProfilesOutput(ctx *Context, args *GetUserProfilesOutputArgs, opts ...InvokeOption) GetUserProfilesResultOutput
> Note: This function is named GetUserProfiles
in the Go SDK.
public static class GetUserProfiles
{
public static Task<GetUserProfilesResult> InvokeAsync(GetUserProfilesArgs args, InvokeOptions? opts = null)
public static Output<GetUserProfilesResult> Invoke(GetUserProfilesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserProfilesResult> getUserProfiles(GetUserProfilesArgs args, InvokeOptions options)
public static Output<GetUserProfilesResult> getUserProfiles(GetUserProfilesArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getUserProfiles:getUserProfiles
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getUserProfiles Result
The following output properties are available:
- Id string
- Listings
List<Get
User Profiles Listing> - List of user profiles returned, as defined below.
- Total double
- (int) Total number of user profiles.
- Id string
- Listings
[]Get
User Profiles Listing - List of user profiles returned, as defined below.
- Total float64
- (int) Total number of user profiles.
- id String
- listings
List<Get
User Profiles Listing> - List of user profiles returned, as defined below.
- total Double
- (int) Total number of user profiles.
- id string
- listings
Get
User Profiles Listing[] - List of user profiles returned, as defined below.
- total number
- (int) Total number of user profiles.
- id str
- listings
Sequence[Get
User Profiles Listing] - List of user profiles returned, as defined below.
- total float
- (int) Total number of user profiles.
- id String
- listings List<Property Map>
- List of user profiles returned, as defined below.
- total Number
- (int) Total number of user profiles.
Supporting Types
GetUserProfilesListing
- Account
Type string - Account Type (USER_ACCOUNT or SERVICE_ACCOUNT).
- Default
Role stringId - Default User Role ID.
- Display
Name string - Display name.
- Enabled bool
- (bool) Enabled.
- Last
Login doubleTs - (int) Last login timestamp.
- Last
Modified stringBy - Last modified by.
- Last
Modified doubleTs - (int) Last modified timestamp.
- Profile
Id string - Profile ID (email or username).
- Role
Ids List<string> - List of Role IDs.
- Time
Zone string - Time zone (e.g. America/Los_Angeles).
- Username string
- User email or service account name.
- Account
Type string - Account Type (USER_ACCOUNT or SERVICE_ACCOUNT).
- Default
Role stringId - Default User Role ID.
- Display
Name string - Display name.
- Enabled bool
- (bool) Enabled.
- Last
Login float64Ts - (int) Last login timestamp.
- Last
Modified stringBy - Last modified by.
- Last
Modified float64Ts - (int) Last modified timestamp.
- Profile
Id string - Profile ID (email or username).
- Role
Ids []string - List of Role IDs.
- Time
Zone string - Time zone (e.g. America/Los_Angeles).
- Username string
- User email or service account name.
- account
Type String - Account Type (USER_ACCOUNT or SERVICE_ACCOUNT).
- default
Role StringId - Default User Role ID.
- display
Name String - Display name.
- enabled Boolean
- (bool) Enabled.
- last
Login DoubleTs - (int) Last login timestamp.
- last
Modified StringBy - Last modified by.
- last
Modified DoubleTs - (int) Last modified timestamp.
- profile
Id String - Profile ID (email or username).
- role
Ids List<String> - List of Role IDs.
- time
Zone String - Time zone (e.g. America/Los_Angeles).
- username String
- User email or service account name.
- account
Type string - Account Type (USER_ACCOUNT or SERVICE_ACCOUNT).
- default
Role stringId - Default User Role ID.
- display
Name string - Display name.
- enabled boolean
- (bool) Enabled.
- last
Login numberTs - (int) Last login timestamp.
- last
Modified stringBy - Last modified by.
- last
Modified numberTs - (int) Last modified timestamp.
- profile
Id string - Profile ID (email or username).
- role
Ids string[] - List of Role IDs.
- time
Zone string - Time zone (e.g. America/Los_Angeles).
- username string
- User email or service account name.
- account_
type str - Account Type (USER_ACCOUNT or SERVICE_ACCOUNT).
- default_
role_ strid - Default User Role ID.
- display_
name str - Display name.
- enabled bool
- (bool) Enabled.
- last_
login_ floatts - (int) Last login timestamp.
- last_
modified_ strby - Last modified by.
- last_
modified_ floatts - (int) Last modified timestamp.
- profile_
id str - Profile ID (email or username).
- role_
ids Sequence[str] - List of Role IDs.
- time_
zone str - Time zone (e.g. America/Los_Angeles).
- username str
- User email or service account name.
- account
Type String - Account Type (USER_ACCOUNT or SERVICE_ACCOUNT).
- default
Role StringId - Default User Role ID.
- display
Name String - Display name.
- enabled Boolean
- (bool) Enabled.
- last
Login NumberTs - (int) Last login timestamp.
- last
Modified StringBy - Last modified by.
- last
Modified NumberTs - (int) Last modified timestamp.
- profile
Id String - Profile ID (email or username).
- role
Ids List<String> - List of Role IDs.
- time
Zone String - Time zone (e.g. America/Los_Angeles).
- username String
- User email or service account name.
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