import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Sql Endpoint resource in Oracle Cloud Infrastructure Data Flow service. * * Retrieves a SQL Endpoint using a sqlEndpointId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSqlEndpoint = oci.dataflow.getSqlEndpoint({ * sqlEndpointId: testSqlEndpointOciDataflowSqlEndpoint.id, * }); * ``` */ export declare function getSqlEndpoint(args: GetSqlEndpointArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSqlEndpoint. */ export interface GetSqlEndpointArgs { /** * The unique id of the SQL Endpoint. */ sqlEndpointId: string; } /** * A collection of values returned by getSqlEndpoint. */ export interface GetSqlEndpointResult { /** * The OCID of a compartment. */ readonly compartmentId: string; /** * 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 description of the SQL Endpoint. */ readonly description: string; /** * The SQL Endpoint name, which can be changed. */ readonly displayName: string; /** * The shape of the SQL Endpoint driver instance. */ readonly driverShape: string; /** * This is used to configure the shape of the driver or executor if a flexible shape is used. */ readonly driverShapeConfigs: outputs.DataFlow.GetSqlEndpointDriverShapeConfig[]; /** * The shape of the SQL Endpoint executor instance. */ readonly executorShape: string; /** * This is used to configure the shape of the driver or executor if a flexible shape is used. */ readonly executorShapeConfigs: outputs.DataFlow.GetSqlEndpointExecutorShapeConfig[]; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. 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 provision identifier that is immutable on creation. */ readonly id: string; /** * The JDBC URL field. For example, jdbc:spark://{serviceFQDN}:443/default;SparkServerType=DFI */ readonly jdbcEndpointUrl: string; /** * The OCID of Oracle Cloud Infrastructure Lake. */ readonly lakeId: string; readonly logCompartmentId: string; readonly logDisplayName: string; readonly logGroupId: string; readonly logRetentionDuration: number; /** * The maximum number of executors. */ readonly maxExecutorCount: number; /** * The OCID of Oracle Cloud Infrastructure Hive Metastore. */ readonly metastoreId: string; /** * The minimum number of executors. */ readonly minExecutorCount: number; /** * The network configuration of a SQL Endpoint. */ readonly networkConfigurations: outputs.DataFlow.GetSqlEndpointNetworkConfiguration[]; /** * The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned. */ readonly sparkAdvancedConfigurations: { [key: string]: string; }; readonly sqlEndpointId: string; /** * The version of SQL Endpoint. */ readonly sqlEndpointVersion: string; /** * The current state of the Sql Endpoint. */ readonly state: string; /** * A message describing the reason why the resource is in it's current state. Helps bubble up errors in state changes. For example, it can be used to provide actionable information for a resource in the Failed state. */ readonly stateMessage: string; /** * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: { [key: string]: string; }; /** * The time the Sql Endpoint was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * The time the Sql Endpoint was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; /** * The warehouse bucket URI. It is a Oracle Cloud Infrastructure Object Storage bucket URI as defined here https://docs.oracle.com/en/cloud/paas/atp-cloud/atpud/object-storage-uris.html */ readonly warehouseBucketUri: string; } /** * This data source provides details about a specific Sql Endpoint resource in Oracle Cloud Infrastructure Data Flow service. * * Retrieves a SQL Endpoint using a sqlEndpointId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSqlEndpoint = oci.dataflow.getSqlEndpoint({ * sqlEndpointId: testSqlEndpointOciDataflowSqlEndpoint.id, * }); * ``` */ export declare function getSqlEndpointOutput(args: GetSqlEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSqlEndpoint. */ export interface GetSqlEndpointOutputArgs { /** * The unique id of the SQL Endpoint. */ sqlEndpointId: pulumi.Input; } //# sourceMappingURL=getSqlEndpoint.d.ts.map