import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages an Aiven for Apache Kafka® Schema Registry ACL entry. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.KafkaSchemaRegistryAcl("example", { * project: "my-project", * serviceName: "my-kafka", * permission: "schema_registry_read", * resource: "Config:", * username: "admin*", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/kafkaSchemaRegistryAcl:KafkaSchemaRegistryAcl example PROJECT/SERVICE_NAME/ACL_ID * ``` */ export declare class KafkaSchemaRegistryAcl extends pulumi.CustomResource { /** * Get an existing KafkaSchemaRegistryAcl 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?: KafkaSchemaRegistryAclState, opts?: pulumi.CustomResourceOptions): KafkaSchemaRegistryAcl; /** * Returns true if the given object is an instance of KafkaSchemaRegistryAcl. 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 KafkaSchemaRegistryAcl; /** * Kafka Schema Registry ACL ID. */ readonly aclId: pulumi.Output; /** * ACL entry for Schema Registry. The possible values are `schemaRegistryRead` and `schemaRegistryWrite`. Changing this property forces recreation of the resource. */ readonly permission: pulumi.Output; /** * Project name. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * Schema Registry ACL entry resource name pattern. Length must be between `1` and `249`. Changing this property forces recreation of the resource. */ readonly resource: pulumi.Output; /** * Service name. Changing this property forces recreation of the resource. */ readonly serviceName: pulumi.Output; readonly timeouts: pulumi.Output; /** * Username. Length must be between `1` and `64`. Changing this property forces recreation of the resource. */ readonly username: pulumi.Output; /** * Create a KafkaSchemaRegistryAcl 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: KafkaSchemaRegistryAclArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering KafkaSchemaRegistryAcl resources. */ export interface KafkaSchemaRegistryAclState { /** * Kafka Schema Registry ACL ID. */ aclId?: pulumi.Input; /** * ACL entry for Schema Registry. The possible values are `schemaRegistryRead` and `schemaRegistryWrite`. Changing this property forces recreation of the resource. */ permission?: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project?: pulumi.Input; /** * Schema Registry ACL entry resource name pattern. Length must be between `1` and `249`. Changing this property forces recreation of the resource. */ resource?: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName?: pulumi.Input; timeouts?: pulumi.Input; /** * Username. Length must be between `1` and `64`. Changing this property forces recreation of the resource. */ username?: pulumi.Input; } /** * The set of arguments for constructing a KafkaSchemaRegistryAcl resource. */ export interface KafkaSchemaRegistryAclArgs { /** * ACL entry for Schema Registry. The possible values are `schemaRegistryRead` and `schemaRegistryWrite`. Changing this property forces recreation of the resource. */ permission: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * Schema Registry ACL entry resource name pattern. Length must be between `1` and `249`. Changing this property forces recreation of the resource. */ resource: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; /** * Username. Length must be between `1` and `64`. Changing this property forces recreation of the resource. */ username: pulumi.Input; } //# sourceMappingURL=kafkaSchemaRegistryAcl.d.ts.map