import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Autonomous Database Saas Admin User resource in Oracle Cloud Infrastructure Database service. * * This operation updates SaaS administrative user configuration of the Autonomous AI Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabaseSaasAdminUser = new oci.database.AutonomousDatabaseSaasAdminUser("test_autonomous_database_saas_admin_user", { * autonomousDatabaseId: testAutonomousDatabase.id, * password: autonomousDatabaseSaasAdminUserPassword, * accessType: autonomousDatabaseSaasAdminUserAccessType, * duration: Number(autonomousDatabaseSaasAdminUserDuration), * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class AutonomousDatabaseSaasAdminUser extends pulumi.CustomResource { /** * Get an existing AutonomousDatabaseSaasAdminUser 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?: AutonomousDatabaseSaasAdminUserState, opts?: pulumi.CustomResourceOptions): AutonomousDatabaseSaasAdminUser; /** * Returns true if the given object is an instance of AutonomousDatabaseSaasAdminUser. 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 AutonomousDatabaseSaasAdminUser; /** * The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used. */ readonly accessType: pulumi.Output; /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly autonomousDatabaseId: pulumi.Output; /** * How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used. */ readonly duration: pulumi.Output; /** * A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \# (hashtag), or - (dash). */ readonly password: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). */ readonly secretId: pulumi.Output; /** * The version of the vault secret. If no version is specified, the latest version will be used. */ readonly secretVersionNumber: pulumi.Output; /** * The date and time the SaaS administrative user was enabled at, for the Autonomous AI Database. * * ** 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 timeSaasAdminUserEnabled: pulumi.Output; /** * Create a AutonomousDatabaseSaasAdminUser 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: AutonomousDatabaseSaasAdminUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutonomousDatabaseSaasAdminUser resources. */ export interface AutonomousDatabaseSaasAdminUserState { /** * The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used. */ accessType?: pulumi.Input; /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId?: pulumi.Input; /** * How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used. */ duration?: pulumi.Input; /** * A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \# (hashtag), or - (dash). */ password?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). */ secretId?: pulumi.Input; /** * The version of the vault secret. If no version is specified, the latest version will be used. */ secretVersionNumber?: pulumi.Input; /** * The date and time the SaaS administrative user was enabled at, for the Autonomous AI Database. * * ** 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 */ timeSaasAdminUserEnabled?: pulumi.Input; } /** * The set of arguments for constructing a AutonomousDatabaseSaasAdminUser resource. */ export interface AutonomousDatabaseSaasAdminUserArgs { /** * The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used. */ accessType?: pulumi.Input; /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId: pulumi.Input; /** * How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used. */ duration?: pulumi.Input; /** * A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \# (hashtag), or - (dash). */ password?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). */ secretId?: pulumi.Input; /** * The version of the vault secret. If no version is specified, the latest version will be used. */ secretVersionNumber?: pulumi.Input; /** * The date and time the SaaS administrative user was enabled at, for the Autonomous AI Database. * * ** 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 */ timeSaasAdminUserEnabled?: pulumi.Input; } //# sourceMappingURL=autonomousDatabaseSaasAdminUser.d.ts.map