import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Kafka Cluster Superusers Management resource in Oracle Cloud Infrastructure Managed Kafka service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/kafka/latest/KafkaClusterSuperusersManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/managed_kafka * Adds a SASL superuser to the Kafka cluster. A generated password will be updated to the specified vault. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testKafkaClusterSuperusersManagement = new oci.oci.ManagedKafkaKafkaClusterSuperusersManagement("test_kafka_cluster_superusers_management", { * kafkaClusterId: testKafkaCluster.id, * enableSuperuser: enableSuperuser === "true", * compartmentId: compartmentId, * secretId: testSecret.id, * }); * ``` */ export declare class ManagedKafkaKafkaClusterSuperusersManagement extends pulumi.CustomResource { /** * Get an existing ManagedKafkaKafkaClusterSuperusersManagement 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?: ManagedKafkaKafkaClusterSuperusersManagementState, opts?: pulumi.CustomResourceOptions): ManagedKafkaKafkaClusterSuperusersManagement; /** * Returns true if the given object is an instance of ManagedKafkaKafkaClusterSuperusersManagement. 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 ManagedKafkaKafkaClusterSuperusersManagement; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret. */ readonly compartmentId: pulumi.Output; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** 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 enableSuperuser: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. */ readonly kafkaClusterId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password. */ readonly secretId: pulumi.Output; /** * Create a ManagedKafkaKafkaClusterSuperusersManagement 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: ManagedKafkaKafkaClusterSuperusersManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedKafkaKafkaClusterSuperusersManagement resources. */ export interface ManagedKafkaKafkaClusterSuperusersManagementState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret. */ compartmentId?: pulumi.Input; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** 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 */ enableSuperuser?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. */ kafkaClusterId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password. */ secretId?: pulumi.Input; } /** * The set of arguments for constructing a ManagedKafkaKafkaClusterSuperusersManagement resource. */ export interface ManagedKafkaKafkaClusterSuperusersManagementArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret. */ compartmentId?: pulumi.Input; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** 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 */ enableSuperuser: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. */ kafkaClusterId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password. */ secretId?: pulumi.Input; } //# sourceMappingURL=managedKafkaKafkaClusterSuperusersManagement.d.ts.map