1. Packages
  2. Prismacloud Provider
  3. API Docs
  4. UserProfile
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

prismacloud.UserProfile

Explore with Pulumi AI

prismacloud logo
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

    Manage a user profile.

    Create UserProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new UserProfile(name: string, args: UserProfileArgs, opts?: CustomResourceOptions);
    @overload
    def UserProfile(resource_name: str,
                    args: UserProfileArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def UserProfile(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    default_role_id: Optional[str] = None,
                    username: Optional[str] = None,
                    time_zone: Optional[str] = None,
                    role_ids: Optional[Sequence[str]] = None,
                    enable_key_expiration: Optional[bool] = None,
                    email: Optional[str] = None,
                    access_key_expiration: Optional[float] = None,
                    enabled: Optional[bool] = None,
                    first_name: Optional[str] = None,
                    last_name: Optional[str] = None,
                    account_type: Optional[str] = None,
                    access_keys_allowed: Optional[bool] = None,
                    user_profile_id: Optional[str] = None,
                    access_key_name: Optional[str] = None)
    func NewUserProfile(ctx *Context, name string, args UserProfileArgs, opts ...ResourceOption) (*UserProfile, error)
    public UserProfile(string name, UserProfileArgs args, CustomResourceOptions? opts = null)
    public UserProfile(String name, UserProfileArgs args)
    public UserProfile(String name, UserProfileArgs args, CustomResourceOptions options)
    
    type: prismacloud:UserProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args UserProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args UserProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args UserProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UserProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var userProfileResource = new Prismacloud.UserProfile("userProfileResource", new()
    {
        DefaultRoleId = "string",
        Username = "string",
        TimeZone = "string",
        RoleIds = new[]
        {
            "string",
        },
        EnableKeyExpiration = false,
        Email = "string",
        AccessKeyExpiration = 0,
        Enabled = false,
        FirstName = "string",
        LastName = "string",
        AccountType = "string",
        AccessKeysAllowed = false,
        UserProfileId = "string",
        AccessKeyName = "string",
    });
    
    example, err := prismacloud.NewUserProfile(ctx, "userProfileResource", &prismacloud.UserProfileArgs{
    	DefaultRoleId: pulumi.String("string"),
    	Username:      pulumi.String("string"),
    	TimeZone:      pulumi.String("string"),
    	RoleIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EnableKeyExpiration: pulumi.Bool(false),
    	Email:               pulumi.String("string"),
    	AccessKeyExpiration: pulumi.Float64(0),
    	Enabled:             pulumi.Bool(false),
    	FirstName:           pulumi.String("string"),
    	LastName:            pulumi.String("string"),
    	AccountType:         pulumi.String("string"),
    	AccessKeysAllowed:   pulumi.Bool(false),
    	UserProfileId:       pulumi.String("string"),
    	AccessKeyName:       pulumi.String("string"),
    })
    
    var userProfileResource = new UserProfile("userProfileResource", UserProfileArgs.builder()
        .defaultRoleId("string")
        .username("string")
        .timeZone("string")
        .roleIds("string")
        .enableKeyExpiration(false)
        .email("string")
        .accessKeyExpiration(0)
        .enabled(false)
        .firstName("string")
        .lastName("string")
        .accountType("string")
        .accessKeysAllowed(false)
        .userProfileId("string")
        .accessKeyName("string")
        .build());
    
    user_profile_resource = prismacloud.UserProfile("userProfileResource",
        default_role_id="string",
        username="string",
        time_zone="string",
        role_ids=["string"],
        enable_key_expiration=False,
        email="string",
        access_key_expiration=0,
        enabled=False,
        first_name="string",
        last_name="string",
        account_type="string",
        access_keys_allowed=False,
        user_profile_id="string",
        access_key_name="string")
    
    const userProfileResource = new prismacloud.UserProfile("userProfileResource", {
        defaultRoleId: "string",
        username: "string",
        timeZone: "string",
        roleIds: ["string"],
        enableKeyExpiration: false,
        email: "string",
        accessKeyExpiration: 0,
        enabled: false,
        firstName: "string",
        lastName: "string",
        accountType: "string",
        accessKeysAllowed: false,
        userProfileId: "string",
        accessKeyName: "string",
    });
    
    type: prismacloud:UserProfile
    properties:
        accessKeyExpiration: 0
        accessKeyName: string
        accessKeysAllowed: false
        accountType: string
        defaultRoleId: string
        email: string
        enableKeyExpiration: false
        enabled: false
        firstName: string
        lastName: string
        roleIds:
            - string
        timeZone: string
        userProfileId: string
        username: string
    

    UserProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The UserProfile resource accepts the following input properties:

    DefaultRoleId string
    Default Role ID, must be present in role_ids.
    RoleIds List<string>
    List of Role IDs. (default: false)
    TimeZone string
    Time zone (e.g. America/Los_Angeles).
    Username string
    User email or service account name.
    AccessKeyExpiration double
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    AccessKeyName string
    Access key name.
    AccessKeysAllowed bool
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    AccountType string
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    Email string
    Email ID.
    EnableKeyExpiration bool
    Enable access key expiration. (default: false)
    Enabled bool
    Is account enabled. (default: true)
    FirstName string
    First name.
    LastName string
    Last name.
    UserProfileId string
    DefaultRoleId string
    Default Role ID, must be present in role_ids.
    RoleIds []string
    List of Role IDs. (default: false)
    TimeZone string
    Time zone (e.g. America/Los_Angeles).
    Username string
    User email or service account name.
    AccessKeyExpiration float64
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    AccessKeyName string
    Access key name.
    AccessKeysAllowed bool
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    AccountType string
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    Email string
    Email ID.
    EnableKeyExpiration bool
    Enable access key expiration. (default: false)
    Enabled bool
    Is account enabled. (default: true)
    FirstName string
    First name.
    LastName string
    Last name.
    UserProfileId string
    defaultRoleId String
    Default Role ID, must be present in role_ids.
    roleIds List<String>
    List of Role IDs. (default: false)
    timeZone String
    Time zone (e.g. America/Los_Angeles).
    username String
    User email or service account name.
    accessKeyExpiration Double
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    accessKeyName String
    Access key name.
    accessKeysAllowed Boolean
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    accountType String
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    email String
    Email ID.
    enableKeyExpiration Boolean
    Enable access key expiration. (default: false)
    enabled Boolean
    Is account enabled. (default: true)
    firstName String
    First name.
    lastName String
    Last name.
    userProfileId String
    defaultRoleId string
    Default Role ID, must be present in role_ids.
    roleIds string[]
    List of Role IDs. (default: false)
    timeZone string
    Time zone (e.g. America/Los_Angeles).
    username string
    User email or service account name.
    accessKeyExpiration number
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    accessKeyName string
    Access key name.
    accessKeysAllowed boolean
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    accountType string
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    email string
    Email ID.
    enableKeyExpiration boolean
    Enable access key expiration. (default: false)
    enabled boolean
    Is account enabled. (default: true)
    firstName string
    First name.
    lastName string
    Last name.
    userProfileId string
    default_role_id str
    Default Role ID, must be present in role_ids.
    role_ids Sequence[str]
    List of Role IDs. (default: false)
    time_zone str
    Time zone (e.g. America/Los_Angeles).
    username str
    User email or service account name.
    access_key_expiration float
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    access_key_name str
    Access key name.
    access_keys_allowed bool
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    account_type str
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    email str
    Email ID.
    enable_key_expiration bool
    Enable access key expiration. (default: false)
    enabled bool
    Is account enabled. (default: true)
    first_name str
    First name.
    last_name str
    Last name.
    user_profile_id str
    defaultRoleId String
    Default Role ID, must be present in role_ids.
    roleIds List<String>
    List of Role IDs. (default: false)
    timeZone String
    Time zone (e.g. America/Los_Angeles).
    username String
    User email or service account name.
    accessKeyExpiration Number
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    accessKeyName String
    Access key name.
    accessKeysAllowed Boolean
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    accountType String
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    email String
    Email ID.
    enableKeyExpiration Boolean
    Enable access key expiration. (default: false)
    enabled Boolean
    Is account enabled. (default: true)
    firstName String
    First name.
    lastName String
    Last name.
    userProfileId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the UserProfile resource produces the following output properties:

    AccessKeyId string
    Access key ID generated for SERVICE_ACCOUNT.
    AccessKeysCount double
    (int) Access keys count.
    DisplayName string
    Display name.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastLoginTs double
    (int) Last login timestamp.
    LastModifiedBy string
    Last modified by
    LastModifiedTs double
    (int) Last modified timestamp.
    ProfileId string
    Profile ID (email or username).
    Roles List<UserProfileRole>
    List of User Profile Roles Details. Each item has role information, as defined below.
    SecretKey string
    Access key secret generated for SERVICE_ACCOUNT.
    AccessKeyId string
    Access key ID generated for SERVICE_ACCOUNT.
    AccessKeysCount float64
    (int) Access keys count.
    DisplayName string
    Display name.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastLoginTs float64
    (int) Last login timestamp.
    LastModifiedBy string
    Last modified by
    LastModifiedTs float64
    (int) Last modified timestamp.
    ProfileId string
    Profile ID (email or username).
    Roles []UserProfileRole
    List of User Profile Roles Details. Each item has role information, as defined below.
    SecretKey string
    Access key secret generated for SERVICE_ACCOUNT.
    accessKeyId String
    Access key ID generated for SERVICE_ACCOUNT.
    accessKeysCount Double
    (int) Access keys count.
    displayName String
    Display name.
    id String
    The provider-assigned unique ID for this managed resource.
    lastLoginTs Double
    (int) Last login timestamp.
    lastModifiedBy String
    Last modified by
    lastModifiedTs Double
    (int) Last modified timestamp.
    profileId String
    Profile ID (email or username).
    roles List<UserProfileRole>
    List of User Profile Roles Details. Each item has role information, as defined below.
    secretKey String
    Access key secret generated for SERVICE_ACCOUNT.
    accessKeyId string
    Access key ID generated for SERVICE_ACCOUNT.
    accessKeysCount number
    (int) Access keys count.
    displayName string
    Display name.
    id string
    The provider-assigned unique ID for this managed resource.
    lastLoginTs number
    (int) Last login timestamp.
    lastModifiedBy string
    Last modified by
    lastModifiedTs number
    (int) Last modified timestamp.
    profileId string
    Profile ID (email or username).
    roles UserProfileRole[]
    List of User Profile Roles Details. Each item has role information, as defined below.
    secretKey string
    Access key secret generated for SERVICE_ACCOUNT.
    access_key_id str
    Access key ID generated for SERVICE_ACCOUNT.
    access_keys_count float
    (int) Access keys count.
    display_name str
    Display name.
    id str
    The provider-assigned unique ID for this managed resource.
    last_login_ts float
    (int) Last login timestamp.
    last_modified_by str
    Last modified by
    last_modified_ts float
    (int) Last modified timestamp.
    profile_id str
    Profile ID (email or username).
    roles Sequence[UserProfileRole]
    List of User Profile Roles Details. Each item has role information, as defined below.
    secret_key str
    Access key secret generated for SERVICE_ACCOUNT.
    accessKeyId String
    Access key ID generated for SERVICE_ACCOUNT.
    accessKeysCount Number
    (int) Access keys count.
    displayName String
    Display name.
    id String
    The provider-assigned unique ID for this managed resource.
    lastLoginTs Number
    (int) Last login timestamp.
    lastModifiedBy String
    Last modified by
    lastModifiedTs Number
    (int) Last modified timestamp.
    profileId String
    Profile ID (email or username).
    roles List<Property Map>
    List of User Profile Roles Details. Each item has role information, as defined below.
    secretKey String
    Access key secret generated for SERVICE_ACCOUNT.

    Look up Existing UserProfile Resource

    Get an existing UserProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: UserProfileState, opts?: CustomResourceOptions): UserProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_key_expiration: Optional[float] = None,
            access_key_id: Optional[str] = None,
            access_key_name: Optional[str] = None,
            access_keys_allowed: Optional[bool] = None,
            access_keys_count: Optional[float] = None,
            account_type: Optional[str] = None,
            default_role_id: Optional[str] = None,
            display_name: Optional[str] = None,
            email: Optional[str] = None,
            enable_key_expiration: Optional[bool] = None,
            enabled: Optional[bool] = None,
            first_name: Optional[str] = None,
            last_login_ts: Optional[float] = None,
            last_modified_by: Optional[str] = None,
            last_modified_ts: Optional[float] = None,
            last_name: Optional[str] = None,
            profile_id: Optional[str] = None,
            role_ids: Optional[Sequence[str]] = None,
            roles: Optional[Sequence[UserProfileRoleArgs]] = None,
            secret_key: Optional[str] = None,
            time_zone: Optional[str] = None,
            user_profile_id: Optional[str] = None,
            username: Optional[str] = None) -> UserProfile
    func GetUserProfile(ctx *Context, name string, id IDInput, state *UserProfileState, opts ...ResourceOption) (*UserProfile, error)
    public static UserProfile Get(string name, Input<string> id, UserProfileState? state, CustomResourceOptions? opts = null)
    public static UserProfile get(String name, Output<String> id, UserProfileState state, CustomResourceOptions options)
    resources:  _:    type: prismacloud:UserProfile    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessKeyExpiration double
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    AccessKeyId string
    Access key ID generated for SERVICE_ACCOUNT.
    AccessKeyName string
    Access key name.
    AccessKeysAllowed bool
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    AccessKeysCount double
    (int) Access keys count.
    AccountType string
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    DefaultRoleId string
    Default Role ID, must be present in role_ids.
    DisplayName string
    Display name.
    Email string
    Email ID.
    EnableKeyExpiration bool
    Enable access key expiration. (default: false)
    Enabled bool
    Is account enabled. (default: true)
    FirstName string
    First name.
    LastLoginTs double
    (int) Last login timestamp.
    LastModifiedBy string
    Last modified by
    LastModifiedTs double
    (int) Last modified timestamp.
    LastName string
    Last name.
    ProfileId string
    Profile ID (email or username).
    RoleIds List<string>
    List of Role IDs. (default: false)
    Roles List<UserProfileRole>
    List of User Profile Roles Details. Each item has role information, as defined below.
    SecretKey string
    Access key secret generated for SERVICE_ACCOUNT.
    TimeZone string
    Time zone (e.g. America/Los_Angeles).
    UserProfileId string
    Username string
    User email or service account name.
    AccessKeyExpiration float64
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    AccessKeyId string
    Access key ID generated for SERVICE_ACCOUNT.
    AccessKeyName string
    Access key name.
    AccessKeysAllowed bool
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    AccessKeysCount float64
    (int) Access keys count.
    AccountType string
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    DefaultRoleId string
    Default Role ID, must be present in role_ids.
    DisplayName string
    Display name.
    Email string
    Email ID.
    EnableKeyExpiration bool
    Enable access key expiration. (default: false)
    Enabled bool
    Is account enabled. (default: true)
    FirstName string
    First name.
    LastLoginTs float64
    (int) Last login timestamp.
    LastModifiedBy string
    Last modified by
    LastModifiedTs float64
    (int) Last modified timestamp.
    LastName string
    Last name.
    ProfileId string
    Profile ID (email or username).
    RoleIds []string
    List of Role IDs. (default: false)
    Roles []UserProfileRoleArgs
    List of User Profile Roles Details. Each item has role information, as defined below.
    SecretKey string
    Access key secret generated for SERVICE_ACCOUNT.
    TimeZone string
    Time zone (e.g. America/Los_Angeles).
    UserProfileId string
    Username string
    User email or service account name.
    accessKeyExpiration Double
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    accessKeyId String
    Access key ID generated for SERVICE_ACCOUNT.
    accessKeyName String
    Access key name.
    accessKeysAllowed Boolean
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    accessKeysCount Double
    (int) Access keys count.
    accountType String
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    defaultRoleId String
    Default Role ID, must be present in role_ids.
    displayName String
    Display name.
    email String
    Email ID.
    enableKeyExpiration Boolean
    Enable access key expiration. (default: false)
    enabled Boolean
    Is account enabled. (default: true)
    firstName String
    First name.
    lastLoginTs Double
    (int) Last login timestamp.
    lastModifiedBy String
    Last modified by
    lastModifiedTs Double
    (int) Last modified timestamp.
    lastName String
    Last name.
    profileId String
    Profile ID (email or username).
    roleIds List<String>
    List of Role IDs. (default: false)
    roles List<UserProfileRole>
    List of User Profile Roles Details. Each item has role information, as defined below.
    secretKey String
    Access key secret generated for SERVICE_ACCOUNT.
    timeZone String
    Time zone (e.g. America/Los_Angeles).
    userProfileId String
    username String
    User email or service account name.
    accessKeyExpiration number
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    accessKeyId string
    Access key ID generated for SERVICE_ACCOUNT.
    accessKeyName string
    Access key name.
    accessKeysAllowed boolean
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    accessKeysCount number
    (int) Access keys count.
    accountType string
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    defaultRoleId string
    Default Role ID, must be present in role_ids.
    displayName string
    Display name.
    email string
    Email ID.
    enableKeyExpiration boolean
    Enable access key expiration. (default: false)
    enabled boolean
    Is account enabled. (default: true)
    firstName string
    First name.
    lastLoginTs number
    (int) Last login timestamp.
    lastModifiedBy string
    Last modified by
    lastModifiedTs number
    (int) Last modified timestamp.
    lastName string
    Last name.
    profileId string
    Profile ID (email or username).
    roleIds string[]
    List of Role IDs. (default: false)
    roles UserProfileRole[]
    List of User Profile Roles Details. Each item has role information, as defined below.
    secretKey string
    Access key secret generated for SERVICE_ACCOUNT.
    timeZone string
    Time zone (e.g. America/Los_Angeles).
    userProfileId string
    username string
    User email or service account name.
    access_key_expiration float
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    access_key_id str
    Access key ID generated for SERVICE_ACCOUNT.
    access_key_name str
    Access key name.
    access_keys_allowed bool
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    access_keys_count float
    (int) Access keys count.
    account_type str
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    default_role_id str
    Default Role ID, must be present in role_ids.
    display_name str
    Display name.
    email str
    Email ID.
    enable_key_expiration bool
    Enable access key expiration. (default: false)
    enabled bool
    Is account enabled. (default: true)
    first_name str
    First name.
    last_login_ts float
    (int) Last login timestamp.
    last_modified_by str
    Last modified by
    last_modified_ts float
    (int) Last modified timestamp.
    last_name str
    Last name.
    profile_id str
    Profile ID (email or username).
    role_ids Sequence[str]
    List of Role IDs. (default: false)
    roles Sequence[UserProfileRoleArgs]
    List of User Profile Roles Details. Each item has role information, as defined below.
    secret_key str
    Access key secret generated for SERVICE_ACCOUNT.
    time_zone str
    Time zone (e.g. America/Los_Angeles).
    user_profile_id str
    username str
    User email or service account name.
    accessKeyExpiration Number
    Access key expiration timestamp in milliseconds for SERVICE_ACCOUNT.
    accessKeyId String
    Access key ID generated for SERVICE_ACCOUNT.
    accessKeyName String
    Access key name.
    accessKeysAllowed Boolean
    Access keys allowed. (For USER_ACCOUNT default value is true if role_ids contain System Admin role)
    accessKeysCount Number
    (int) Access keys count.
    accountType String
    Account Type. Valid values are USER_ACCOUNT, or SERVICE_ACCOUNT. (default: USER_ACCOUNT)
    defaultRoleId String
    Default Role ID, must be present in role_ids.
    displayName String
    Display name.
    email String
    Email ID.
    enableKeyExpiration Boolean
    Enable access key expiration. (default: false)
    enabled Boolean
    Is account enabled. (default: true)
    firstName String
    First name.
    lastLoginTs Number
    (int) Last login timestamp.
    lastModifiedBy String
    Last modified by
    lastModifiedTs Number
    (int) Last modified timestamp.
    lastName String
    Last name.
    profileId String
    Profile ID (email or username).
    roleIds List<String>
    List of Role IDs. (default: false)
    roles List<Property Map>
    List of User Profile Roles Details. Each item has role information, as defined below.
    secretKey String
    Access key secret generated for SERVICE_ACCOUNT.
    timeZone String
    Time zone (e.g. America/Los_Angeles).
    userProfileId String
    username String
    User email or service account name.

    Supporting Types

    UserProfileRole, UserProfileRoleArgs

    Name string
    User Role Name.
    OnlyAllowCiAccess bool
    (bool) Allow only CI Access for Build and Deploy security roles.
    OnlyAllowComputeAccess bool
    (bool) Allow only Compute Access for reduced system admin roles.
    OnlyAllowReadAccess bool
    (bool) Allow only read access.
    RoleId string
    User Role ID.
    RoleType string
    User Role Type.
    Name string
    User Role Name.
    OnlyAllowCiAccess bool
    (bool) Allow only CI Access for Build and Deploy security roles.
    OnlyAllowComputeAccess bool
    (bool) Allow only Compute Access for reduced system admin roles.
    OnlyAllowReadAccess bool
    (bool) Allow only read access.
    RoleId string
    User Role ID.
    RoleType string
    User Role Type.
    name String
    User Role Name.
    onlyAllowCiAccess Boolean
    (bool) Allow only CI Access for Build and Deploy security roles.
    onlyAllowComputeAccess Boolean
    (bool) Allow only Compute Access for reduced system admin roles.
    onlyAllowReadAccess Boolean
    (bool) Allow only read access.
    roleId String
    User Role ID.
    roleType String
    User Role Type.
    name string
    User Role Name.
    onlyAllowCiAccess boolean
    (bool) Allow only CI Access for Build and Deploy security roles.
    onlyAllowComputeAccess boolean
    (bool) Allow only Compute Access for reduced system admin roles.
    onlyAllowReadAccess boolean
    (bool) Allow only read access.
    roleId string
    User Role ID.
    roleType string
    User Role Type.
    name str
    User Role Name.
    only_allow_ci_access bool
    (bool) Allow only CI Access for Build and Deploy security roles.
    only_allow_compute_access bool
    (bool) Allow only Compute Access for reduced system admin roles.
    only_allow_read_access bool
    (bool) Allow only read access.
    role_id str
    User Role ID.
    role_type str
    User Role Type.
    name String
    User Role Name.
    onlyAllowCiAccess Boolean
    (bool) Allow only CI Access for Build and Deploy security roles.
    onlyAllowComputeAccess Boolean
    (bool) Allow only Compute Access for reduced system admin roles.
    onlyAllowReadAccess Boolean
    (bool) Allow only read access.
    roleId String
    User Role ID.
    roleType String
    User Role Type.

    Import

    Resources can be imported using the username/email:

    $ pulumi import prismacloud:index/userProfile:UserProfile example user@email.com
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    prismacloud paloaltonetworks/terraform-provider-prismacloud
    License
    Notes
    This Pulumi package is based on the prismacloud Terraform Provider.
    prismacloud logo
    prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks