import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Stream Pool resource in Oracle Cloud Infrastructure Streaming service. * * Gets detailed information about the stream pool, such as Kafka settings. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStreamPool = oci.streaming.getStreamPool({ * streamPoolId: testStreamPoolOciStreamingStreamPool.id, * }); * ``` */ export declare function getStreamPool(args: GetStreamPoolArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getStreamPool. */ export interface GetStreamPoolArgs { /** * The OCID of the stream pool. */ streamPoolId: string; } /** * A collection of values returned by getStreamPool. */ export interface GetStreamPoolResult { /** * Compartment OCID that the pool belongs to. */ readonly compartmentId: string; /** * Custom Encryption Key which will be used for encryption by all the streams in the pool. */ readonly customEncryptionKeys: outputs.Streaming.GetStreamPoolCustomEncryptionKey[]; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations": {"CostCenter": "42"}}' */ readonly definedTags: { [key: string]: string; }; /** * The FQDN used to access the streams inside the stream pool (same FQDN as the messagesEndpoint attribute of a [Stream](https://docs.cloud.oracle.com/iaas/api/#/en/streaming/20180418/Stream) object). If the stream pool is private, the FQDN is customized and can only be accessed from inside the associated subnetId, otherwise the FQDN is publicly resolvable. Depending on which protocol you attempt to use, you need to either prepend https or append the Kafka port. */ readonly endpointFqdn: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair that is applied with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The OCID of the stream pool. */ readonly id: string; /** * True if the stream pool is private, false otherwise. The associated endpoint and subnetId of a private stream pool can be retrieved through the [GetStreamPool](https://docs.cloud.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/GetStreamPool) API. */ readonly isPrivate: boolean; /** * Settings for the Kafka compatibility layer. */ readonly kafkaSettings: outputs.Streaming.GetStreamPoolKafkaSetting[]; /** * Any additional details about the current state of the stream. */ readonly lifecycleStateDetails: string; /** * The name of the stream pool. */ readonly name: string; /** * Optional settings if the stream pool is private. */ readonly privateEndpointSettings: outputs.Streaming.GetStreamPoolPrivateEndpointSetting[]; /** * Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}` */ readonly securityAttributes: { [key: string]: string; }; /** * The current state of the stream pool. */ readonly state: string; readonly streamPoolId: string; /** * The date and time the stream pool was created, expressed in in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ readonly timeCreated: string; } /** * This data source provides details about a specific Stream Pool resource in Oracle Cloud Infrastructure Streaming service. * * Gets detailed information about the stream pool, such as Kafka settings. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStreamPool = oci.streaming.getStreamPool({ * streamPoolId: testStreamPoolOciStreamingStreamPool.id, * }); * ``` */ export declare function getStreamPoolOutput(args: GetStreamPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getStreamPool. */ export interface GetStreamPoolOutputArgs { /** * The OCID of the stream pool. */ streamPoolId: pulumi.Input; } //# sourceMappingURL=getStreamPool.d.ts.map