import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * The Kafka Schema data source provides information about the existing Aiven Kafka Schema. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const config = aiven.getKafkaSchemaConfiguration({ * project: kafka_schemas_project1.project, * serviceName: kafka_service1.serviceName, * }); * ``` */ export declare function getKafkaSchema(args: GetKafkaSchemaArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKafkaSchema. */ export interface GetKafkaSchemaArgs { /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project: string; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ serviceName: string; /** * The Kafka Schema Subject name. Changing this property forces recreation of the resource. */ subjectName: string; } /** * A collection of values returned by getKafkaSchema. */ export interface GetKafkaSchemaResult { /** * Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`. */ readonly compatibilityLevel: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly project: string; /** * Schema references. */ readonly references: outputs.GetKafkaSchemaReference[]; /** * Kafka Schema configuration. Should be a valid Avro, JSON, or Protobuf schema, depending on the schema type. */ readonly schema: string; /** * Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`. */ readonly schemaType: string; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly serviceName: string; /** * The Kafka Schema Subject name. Changing this property forces recreation of the resource. */ readonly subjectName: string; /** * Kafka Schema configuration version. */ readonly version: number; } /** * The Kafka Schema data source provides information about the existing Aiven Kafka Schema. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const config = aiven.getKafkaSchemaConfiguration({ * project: kafka_schemas_project1.project, * serviceName: kafka_service1.serviceName, * }); * ``` */ export declare function getKafkaSchemaOutput(args: GetKafkaSchemaOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKafkaSchema. */ export interface GetKafkaSchemaOutputArgs { /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ serviceName: pulumi.Input; /** * The Kafka Schema Subject name. Changing this property forces recreation of the resource. */ subjectName: pulumi.Input; } //# sourceMappingURL=getKafkaSchema.d.ts.map