prismacloud.UserProfile
Explore with Pulumi AI
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:
- Default
Role stringId - Default Role ID, must be present in
role_ids
. - Role
Ids List<string> - List of Role IDs. (default:
false
) - Time
Zone string - Time zone (e.g. America/Los_Angeles).
- Username string
- User email or service account name.
- Access
Key doubleExpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - Access
Key stringName - Access key name.
- Access
Keys boolAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - Account
Type string - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - Email string
- Email ID.
- Enable
Key boolExpiration - Enable access key expiration. (default:
false
) - Enabled bool
- Is account enabled. (default:
true
) - First
Name string - First name.
- Last
Name string - Last name.
- User
Profile stringId
- Default
Role stringId - Default Role ID, must be present in
role_ids
. - Role
Ids []string - List of Role IDs. (default:
false
) - Time
Zone string - Time zone (e.g. America/Los_Angeles).
- Username string
- User email or service account name.
- Access
Key float64Expiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - Access
Key stringName - Access key name.
- Access
Keys boolAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - Account
Type string - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - Email string
- Email ID.
- Enable
Key boolExpiration - Enable access key expiration. (default:
false
) - Enabled bool
- Is account enabled. (default:
true
) - First
Name string - First name.
- Last
Name string - Last name.
- User
Profile stringId
- default
Role StringId - Default Role ID, must be present in
role_ids
. - role
Ids List<String> - List of Role IDs. (default:
false
) - time
Zone String - Time zone (e.g. America/Los_Angeles).
- username String
- User email or service account name.
- access
Key DoubleExpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - access
Key StringName - Access key name.
- access
Keys BooleanAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - account
Type String - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - email String
- Email ID.
- enable
Key BooleanExpiration - Enable access key expiration. (default:
false
) - enabled Boolean
- Is account enabled. (default:
true
) - first
Name String - First name.
- last
Name String - Last name.
- user
Profile StringId
- default
Role stringId - Default Role ID, must be present in
role_ids
. - role
Ids string[] - List of Role IDs. (default:
false
) - time
Zone string - Time zone (e.g. America/Los_Angeles).
- username string
- User email or service account name.
- access
Key numberExpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - access
Key stringName - Access key name.
- access
Keys booleanAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - account
Type string - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - email string
- Email ID.
- enable
Key booleanExpiration - Enable access key expiration. (default:
false
) - enabled boolean
- Is account enabled. (default:
true
) - first
Name string - First name.
- last
Name string - Last name.
- user
Profile stringId
- default_
role_ strid - 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_ floatexpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - access_
key_ strname - Access key name.
- access_
keys_ boolallowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - account_
type str - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - email str
- Email ID.
- enable_
key_ boolexpiration - 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_ strid
- default
Role StringId - Default Role ID, must be present in
role_ids
. - role
Ids List<String> - List of Role IDs. (default:
false
) - time
Zone String - Time zone (e.g. America/Los_Angeles).
- username String
- User email or service account name.
- access
Key NumberExpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - access
Key StringName - Access key name.
- access
Keys BooleanAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - account
Type String - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - email String
- Email ID.
- enable
Key BooleanExpiration - Enable access key expiration. (default:
false
) - enabled Boolean
- Is account enabled. (default:
true
) - first
Name String - First name.
- last
Name String - Last name.
- user
Profile StringId
Outputs
All input properties are implicitly available as output properties. Additionally, the UserProfile resource produces the following output properties:
- Access
Key stringId - Access key ID generated for
SERVICE_ACCOUNT
. - Access
Keys doubleCount - (int) Access keys count.
- Display
Name string - Display name.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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).
- Roles
List<User
Profile Role> - List of User Profile Roles Details. Each item has role information, as defined below.
- Secret
Key string - Access key secret generated for
SERVICE_ACCOUNT
.
- Access
Key stringId - Access key ID generated for
SERVICE_ACCOUNT
. - Access
Keys float64Count - (int) Access keys count.
- Display
Name string - Display name.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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).
- Roles
[]User
Profile Role - List of User Profile Roles Details. Each item has role information, as defined below.
- Secret
Key string - Access key secret generated for
SERVICE_ACCOUNT
.
- access
Key StringId - Access key ID generated for
SERVICE_ACCOUNT
. - access
Keys DoubleCount - (int) Access keys count.
- display
Name String - Display name.
- id String
- The provider-assigned unique ID for this managed resource.
- 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).
- roles
List<User
Profile Role> - List of User Profile Roles Details. Each item has role information, as defined below.
- secret
Key String - Access key secret generated for
SERVICE_ACCOUNT
.
- access
Key stringId - Access key ID generated for
SERVICE_ACCOUNT
. - access
Keys numberCount - (int) Access keys count.
- display
Name string - Display name.
- id string
- The provider-assigned unique ID for this managed resource.
- 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).
- roles
User
Profile Role[] - List of User Profile Roles Details. Each item has role information, as defined below.
- secret
Key string - Access key secret generated for
SERVICE_ACCOUNT
.
- access_
key_ strid - Access key ID generated for
SERVICE_ACCOUNT
. - access_
keys_ floatcount - (int) Access keys count.
- display_
name str - Display name.
- id str
- The provider-assigned unique ID for this managed resource.
- 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).
- roles
Sequence[User
Profile Role] - List of User Profile Roles Details. Each item has role information, as defined below.
- secret_
key str - Access key secret generated for
SERVICE_ACCOUNT
.
- access
Key StringId - Access key ID generated for
SERVICE_ACCOUNT
. - access
Keys NumberCount - (int) Access keys count.
- display
Name String - Display name.
- id String
- The provider-assigned unique ID for this managed resource.
- 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).
- roles List<Property Map>
- List of User Profile Roles Details. Each item has role information, as defined below.
- secret
Key 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.
- Access
Key doubleExpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - Access
Key stringId - Access key ID generated for
SERVICE_ACCOUNT
. - Access
Key stringName - Access key name.
- Access
Keys boolAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - Access
Keys doubleCount - (int) Access keys count.
- Account
Type string - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - Default
Role stringId - Default Role ID, must be present in
role_ids
. - Display
Name string - Display name.
- Email string
- Email ID.
- Enable
Key boolExpiration - Enable access key expiration. (default:
false
) - Enabled bool
- Is account enabled. (default:
true
) - First
Name string - First name.
- Last
Login doubleTs - (int) Last login timestamp.
- Last
Modified stringBy - Last modified by
- Last
Modified doubleTs - (int) Last modified timestamp.
- Last
Name string - Last name.
- Profile
Id string - Profile ID (email or username).
- Role
Ids List<string> - List of Role IDs. (default:
false
) - Roles
List<User
Profile Role> - List of User Profile Roles Details. Each item has role information, as defined below.
- Secret
Key string - Access key secret generated for
SERVICE_ACCOUNT
. - Time
Zone string - Time zone (e.g. America/Los_Angeles).
- User
Profile stringId - Username string
- User email or service account name.
- Access
Key float64Expiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - Access
Key stringId - Access key ID generated for
SERVICE_ACCOUNT
. - Access
Key stringName - Access key name.
- Access
Keys boolAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - Access
Keys float64Count - (int) Access keys count.
- Account
Type string - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - Default
Role stringId - Default Role ID, must be present in
role_ids
. - Display
Name string - Display name.
- Email string
- Email ID.
- Enable
Key boolExpiration - Enable access key expiration. (default:
false
) - Enabled bool
- Is account enabled. (default:
true
) - First
Name string - First name.
- Last
Login float64Ts - (int) Last login timestamp.
- Last
Modified stringBy - Last modified by
- Last
Modified float64Ts - (int) Last modified timestamp.
- Last
Name string - Last name.
- Profile
Id string - Profile ID (email or username).
- Role
Ids []string - List of Role IDs. (default:
false
) - Roles
[]User
Profile Role Args - List of User Profile Roles Details. Each item has role information, as defined below.
- Secret
Key string - Access key secret generated for
SERVICE_ACCOUNT
. - Time
Zone string - Time zone (e.g. America/Los_Angeles).
- User
Profile stringId - Username string
- User email or service account name.
- access
Key DoubleExpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - access
Key StringId - Access key ID generated for
SERVICE_ACCOUNT
. - access
Key StringName - Access key name.
- access
Keys BooleanAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - access
Keys DoubleCount - (int) Access keys count.
- account
Type String - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - default
Role StringId - Default Role ID, must be present in
role_ids
. - display
Name String - Display name.
- email String
- Email ID.
- enable
Key BooleanExpiration - Enable access key expiration. (default:
false
) - enabled Boolean
- Is account enabled. (default:
true
) - first
Name String - First name.
- last
Login DoubleTs - (int) Last login timestamp.
- last
Modified StringBy - Last modified by
- last
Modified DoubleTs - (int) Last modified timestamp.
- last
Name String - Last name.
- profile
Id String - Profile ID (email or username).
- role
Ids List<String> - List of Role IDs. (default:
false
) - roles
List<User
Profile Role> - List of User Profile Roles Details. Each item has role information, as defined below.
- secret
Key String - Access key secret generated for
SERVICE_ACCOUNT
. - time
Zone String - Time zone (e.g. America/Los_Angeles).
- user
Profile StringId - username String
- User email or service account name.
- access
Key numberExpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - access
Key stringId - Access key ID generated for
SERVICE_ACCOUNT
. - access
Key stringName - Access key name.
- access
Keys booleanAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - access
Keys numberCount - (int) Access keys count.
- account
Type string - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - default
Role stringId - Default Role ID, must be present in
role_ids
. - display
Name string - Display name.
- email string
- Email ID.
- enable
Key booleanExpiration - Enable access key expiration. (default:
false
) - enabled boolean
- Is account enabled. (default:
true
) - first
Name string - First name.
- last
Login numberTs - (int) Last login timestamp.
- last
Modified stringBy - Last modified by
- last
Modified numberTs - (int) Last modified timestamp.
- last
Name string - Last name.
- profile
Id string - Profile ID (email or username).
- role
Ids string[] - List of Role IDs. (default:
false
) - roles
User
Profile Role[] - List of User Profile Roles Details. Each item has role information, as defined below.
- secret
Key string - Access key secret generated for
SERVICE_ACCOUNT
. - time
Zone string - Time zone (e.g. America/Los_Angeles).
- user
Profile stringId - username string
- User email or service account name.
- access_
key_ floatexpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - access_
key_ strid - Access key ID generated for
SERVICE_ACCOUNT
. - access_
key_ strname - Access key name.
- access_
keys_ boolallowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - access_
keys_ floatcount - (int) Access keys count.
- account_
type str - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - default_
role_ strid - Default Role ID, must be present in
role_ids
. - display_
name str - Display name.
- email str
- Email ID.
- enable_
key_ boolexpiration - Enable access key expiration. (default:
false
) - enabled bool
- Is account enabled. (default:
true
) - first_
name str - First name.
- last_
login_ floatts - (int) Last login timestamp.
- last_
modified_ strby - Last modified by
- last_
modified_ floatts - (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[User
Profile Role Args] - 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_ strid - username str
- User email or service account name.
- access
Key NumberExpiration - Access key expiration timestamp in milliseconds for
SERVICE_ACCOUNT
. - access
Key StringId - Access key ID generated for
SERVICE_ACCOUNT
. - access
Key StringName - Access key name.
- access
Keys BooleanAllowed - Access keys allowed. (For
USER_ACCOUNT
default value istrue
ifrole_ids
containSystem Admin
role) - access
Keys NumberCount - (int) Access keys count.
- account
Type String - Account Type. Valid values are
USER_ACCOUNT
, orSERVICE_ACCOUNT
. (default:USER_ACCOUNT
) - default
Role StringId - Default Role ID, must be present in
role_ids
. - display
Name String - Display name.
- email String
- Email ID.
- enable
Key BooleanExpiration - Enable access key expiration. (default:
false
) - enabled Boolean
- Is account enabled. (default:
true
) - first
Name String - First name.
- last
Login NumberTs - (int) Last login timestamp.
- last
Modified StringBy - Last modified by
- last
Modified NumberTs - (int) Last modified timestamp.
- last
Name String - Last name.
- profile
Id String - Profile ID (email or username).
- role
Ids 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.
- secret
Key String - Access key secret generated for
SERVICE_ACCOUNT
. - time
Zone String - Time zone (e.g. America/Los_Angeles).
- user
Profile StringId - username String
- User email or service account name.
Supporting Types
UserProfileRole, UserProfileRoleArgs
- Name string
- User Role Name.
- Only
Allow boolCi Access - (bool) Allow only CI Access for Build and Deploy security roles.
- Only
Allow boolCompute Access - (bool) Allow only Compute Access for reduced system admin roles.
- Only
Allow boolRead Access - (bool) Allow only read access.
- Role
Id string - User Role ID.
- Role
Type string - User Role Type.
- Name string
- User Role Name.
- Only
Allow boolCi Access - (bool) Allow only CI Access for Build and Deploy security roles.
- Only
Allow boolCompute Access - (bool) Allow only Compute Access for reduced system admin roles.
- Only
Allow boolRead Access - (bool) Allow only read access.
- Role
Id string - User Role ID.
- Role
Type string - User Role Type.
- name String
- User Role Name.
- only
Allow BooleanCi Access - (bool) Allow only CI Access for Build and Deploy security roles.
- only
Allow BooleanCompute Access - (bool) Allow only Compute Access for reduced system admin roles.
- only
Allow BooleanRead Access - (bool) Allow only read access.
- role
Id String - User Role ID.
- role
Type String - User Role Type.
- name string
- User Role Name.
- only
Allow booleanCi Access - (bool) Allow only CI Access for Build and Deploy security roles.
- only
Allow booleanCompute Access - (bool) Allow only Compute Access for reduced system admin roles.
- only
Allow booleanRead Access - (bool) Allow only read access.
- role
Id string - User Role ID.
- role
Type string - User Role Type.
- name str
- User Role Name.
- only_
allow_ boolci_ access - (bool) Allow only CI Access for Build and Deploy security roles.
- only_
allow_ boolcompute_ access - (bool) Allow only Compute Access for reduced system admin roles.
- only_
allow_ boolread_ access - (bool) Allow only read access.
- role_
id str - User Role ID.
- role_
type str - User Role Type.
- name String
- User Role Name.
- only
Allow BooleanCi Access - (bool) Allow only CI Access for Build and Deploy security roles.
- only
Allow BooleanCompute Access - (bool) Allow only Compute Access for reduced system admin roles.
- only
Allow BooleanRead Access - (bool) Allow only read access.
- role
Id String - User Role ID.
- role
Type 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.