import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Bds Instance Resource Principal Configuration resource in Oracle Cloud Infrastructure Big Data Service service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/bigdata/latest/BdsInstanceResourcePrincipalConfiguration * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/big_data_service * * Create a resource principal session token configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstanceResourcePrincipalConfiguration = new oci.bigdataservice.BdsInstanceResourcePrincipalConfiguration("test_bds_instance_resource_principal_configuration", { * bdsInstanceId: testBdsInstance.id, * displayName: bdsInstanceResourcePrincipalConfigurationDisplayName, * clusterAdminPassword: bdsInstanceResourcePrincipalConfigurationClusterAdminPassword, * secretId: testSecret.id, * sessionTokenLifeSpanDurationInHours: Number(bdsInstanceResourcePrincipalConfigurationSessionTokenLifeSpanDurationInHours), * }); * ``` * * ## Import * * BdsInstanceResourcePrincipalConfigurations can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:BigDataService/bdsInstanceResourcePrincipalConfiguration:BdsInstanceResourcePrincipalConfiguration test_bds_instance_resource_principal_configuration "bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}" * ``` */ export declare class BdsInstanceResourcePrincipalConfiguration extends pulumi.CustomResource { /** * Get an existing BdsInstanceResourcePrincipalConfiguration 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?: BdsInstanceResourcePrincipalConfigurationState, opts?: pulumi.CustomResourceOptions): BdsInstanceResourcePrincipalConfiguration; /** * Returns true if the given object is an instance of BdsInstanceResourcePrincipalConfiguration. 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 BdsInstanceResourcePrincipalConfiguration; /** * The OCID of the cluster. */ readonly bdsInstanceId: pulumi.Output; /** * Base-64 encoded Cluster Admin Password for cluster admin user. */ readonly clusterAdminPassword: pulumi.Output; /** * (Updatable) A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value. */ readonly forceRefreshResourcePrincipalTrigger: pulumi.Output; /** * The secretId for the clusterAdminPassword. */ readonly secretId: pulumi.Output; /** * (Updatable) Life span in hours for the resource principal session token. */ readonly sessionTokenLifeSpanDurationInHours: pulumi.Output; /** * The state of the ResourcePrincipalConfiguration. */ readonly state: pulumi.Output; /** * The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string. */ readonly timeTokenExpiry: pulumi.Output; /** * the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string. */ readonly timeTokenRefreshed: pulumi.Output; /** * The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a BdsInstanceResourcePrincipalConfiguration 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: BdsInstanceResourcePrincipalConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BdsInstanceResourcePrincipalConfiguration resources. */ export interface BdsInstanceResourcePrincipalConfigurationState { /** * The OCID of the cluster. */ bdsInstanceId?: pulumi.Input; /** * Base-64 encoded Cluster Admin Password for cluster admin user. */ clusterAdminPassword?: pulumi.Input; /** * (Updatable) A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value. */ forceRefreshResourcePrincipalTrigger?: pulumi.Input; /** * The secretId for the clusterAdminPassword. */ secretId?: pulumi.Input; /** * (Updatable) Life span in hours for the resource principal session token. */ sessionTokenLifeSpanDurationInHours?: pulumi.Input; /** * The state of the ResourcePrincipalConfiguration. */ state?: pulumi.Input; /** * The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string. */ timeTokenExpiry?: pulumi.Input; /** * the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string. */ timeTokenRefreshed?: pulumi.Input; /** * The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a BdsInstanceResourcePrincipalConfiguration resource. */ export interface BdsInstanceResourcePrincipalConfigurationArgs { /** * The OCID of the cluster. */ bdsInstanceId: pulumi.Input; /** * Base-64 encoded Cluster Admin Password for cluster admin user. */ clusterAdminPassword?: pulumi.Input; /** * (Updatable) A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Force Refresh Resource Principal. Could be set to any integer value. */ forceRefreshResourcePrincipalTrigger?: pulumi.Input; /** * The secretId for the clusterAdminPassword. */ secretId?: pulumi.Input; /** * (Updatable) Life span in hours for the resource principal session token. */ sessionTokenLifeSpanDurationInHours?: pulumi.Input; } //# sourceMappingURL=bdsInstanceResourcePrincipalConfiguration.d.ts.map