import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the User Capabilities Management resource in Oracle Cloud Infrastructure Identity service. * * Manages the capabilities of the specified user. * * **Important:** Deleting the User Capabilities Management leaves the User resource in its existing state (rather than returning to its defaults) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testUserCapabilitiesManagement = new oci.identity.UserCapabilitiesManagement("test_user_capabilities_management", { * userId: user1.id, * canUseApiKeys: true, * canUseAuthTokens: true, * canUseConsolePassword: false, * canUseCustomerSecretKeys: true, * canUseSmtpCredentials: true, * }); * ``` * * ## Import * * Users can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Identity/userCapabilitiesManagement:UserCapabilitiesManagement test_user_capabilities_management "capabilities/{userId}" * ``` */ export declare class UserCapabilitiesManagement extends pulumi.CustomResource { /** * Get an existing UserCapabilitiesManagement resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: UserCapabilitiesManagementState, opts?: pulumi.CustomResourceOptions): UserCapabilitiesManagement; /** * Returns true if the given object is an instance of UserCapabilitiesManagement. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is UserCapabilitiesManagement; /** * (Updatable) Indicates if the user can use API keys. */ readonly canUseApiKeys: pulumi.Output; /** * (Updatable) Indicates if the user can use SWIFT passwords / auth tokens. */ readonly canUseAuthTokens: pulumi.Output; /** * (Updatable) Indicates if the user can log in to the console. */ readonly canUseConsolePassword: pulumi.Output; /** * (Updatable) Indicates if the user can use SigV4 symmetric keys. */ readonly canUseCustomerSecretKeys: pulumi.Output; /** * (Updatable) Indicates if the user can use SMTP passwords. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly canUseSmtpCredentials: pulumi.Output; /** * The OCID of the user. */ readonly userId: pulumi.Output; /** * Create a UserCapabilitiesManagement resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: UserCapabilitiesManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering UserCapabilitiesManagement resources. */ export interface UserCapabilitiesManagementState { /** * (Updatable) Indicates if the user can use API keys. */ canUseApiKeys?: pulumi.Input; /** * (Updatable) Indicates if the user can use SWIFT passwords / auth tokens. */ canUseAuthTokens?: pulumi.Input; /** * (Updatable) Indicates if the user can log in to the console. */ canUseConsolePassword?: pulumi.Input; /** * (Updatable) Indicates if the user can use SigV4 symmetric keys. */ canUseCustomerSecretKeys?: pulumi.Input; /** * (Updatable) Indicates if the user can use SMTP passwords. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ canUseSmtpCredentials?: pulumi.Input; /** * The OCID of the user. */ userId?: pulumi.Input; } /** * The set of arguments for constructing a UserCapabilitiesManagement resource. */ export interface UserCapabilitiesManagementArgs { /** * (Updatable) Indicates if the user can use API keys. */ canUseApiKeys?: pulumi.Input; /** * (Updatable) Indicates if the user can use SWIFT passwords / auth tokens. */ canUseAuthTokens?: pulumi.Input; /** * (Updatable) Indicates if the user can log in to the console. */ canUseConsolePassword?: pulumi.Input; /** * (Updatable) Indicates if the user can use SigV4 symmetric keys. */ canUseCustomerSecretKeys?: pulumi.Input; /** * (Updatable) Indicates if the user can use SMTP passwords. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ canUseSmtpCredentials?: pulumi.Input; /** * The OCID of the user. */ userId: pulumi.Input; } //# sourceMappingURL=userCapabilitiesManagement.d.ts.map