import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a service connector for spring cloud app.
 *
 * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudConnection` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleAccount = new azure.cosmosdb.Account("example", {
 *     name: "example-cosmosdb-account",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     offerType: "Standard",
 *     kind: "GlobalDocumentDB",
 *     consistencyPolicy: {
 *         consistencyLevel: "BoundedStaleness",
 *         maxIntervalInSeconds: 10,
 *         maxStalenessPrefix: 200,
 *     },
 *     geoLocations: [{
 *         location: example.location,
 *         failoverPriority: 0,
 *     }],
 * });
 * const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
 *     name: "cosmos-sql-db",
 *     resourceGroupName: exampleAccount.resourceGroupName,
 *     accountName: exampleAccount.name,
 *     throughput: 400,
 * });
 * const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
 *     name: "example-container",
 *     resourceGroupName: exampleAccount.resourceGroupName,
 *     accountName: exampleAccount.name,
 *     databaseName: exampleSqlDatabase.name,
 *     partitionKeyPath: "/definition",
 * });
 * const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
 *     name: "examplespringcloud",
 *     resourceGroupName: example.name,
 *     location: example.location,
 * });
 * const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("example", {
 *     name: "examplespringcloudapp",
 *     resourceGroupName: example.name,
 *     serviceName: exampleSpringCloudService.name,
 *     identity: {
 *         type: "SystemAssigned",
 *     },
 * });
 * const exampleSpringCloudJavaDeployment = new azure.appplatform.SpringCloudJavaDeployment("example", {
 *     name: "exampledeployment",
 *     springCloudAppId: exampleSpringCloudApp.id,
 * });
 * const exampleSpringCloudConnection = new azure.appplatform.SpringCloudConnection("example", {
 *     name: "example-serviceconnector",
 *     springCloudId: exampleSpringCloudJavaDeployment.id,
 *     targetResourceId: exampleSqlDatabase.id,
 *     authentication: {
 *         type: "systemAssignedIdentity",
 *     },
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.ServiceLinker` - 2024-04-01, 2022-05-01
 *
 * ## Import
 *
 * Service Connector for spring cloud can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:appplatform/springCloudConnection:SpringCloudConnection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AppPlatform/Spring/springcloud/apps/springcloudapp/deployments/deployment/providers/Microsoft.ServiceLinker/linkers/serviceconnector1
 * ```
 */
export declare class SpringCloudConnection extends pulumi.CustomResource {
    /**
     * Get an existing SpringCloudConnection 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<pulumi.ID>, state?: SpringCloudConnectionState, opts?: pulumi.CustomResourceOptions): SpringCloudConnection;
    /**
     * Returns true if the given object is an instance of SpringCloudConnection.  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 SpringCloudConnection;
    /**
     * The authentication info. An `authentication` block as defined below.
     */
    readonly authentication: pulumi.Output<outputs.appplatform.SpringCloudConnectionAuthentication>;
    readonly clientType: pulumi.Output<string | undefined>;
    /**
     * The name of the service connection. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    readonly secretStore: pulumi.Output<outputs.appplatform.SpringCloudConnectionSecretStore | undefined>;
    /**
     * The ID of the data source spring cloud. Changing this forces a new resource to be created.
     */
    readonly springCloudId: pulumi.Output<string>;
    /**
     * The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are `Postgres`, `PostgresFlexible`, `Mysql`, `Sql`, `Redis`, `RedisEnterprise`, `CosmosCassandra`, `CosmosGremlin`, `CosmosMongo`, `CosmosSql`, `CosmosTable`, `StorageBlob`, `StorageQueue`, `StorageFile`, `StorageTable`, `AppConfig`, `EventHub`, `ServiceBus`, `SignalR`, `WebPubSub`, `ConfluentKafka`. The integration guide can be found [here](https://learn.microsoft.com/en-us/azure/service-connector/how-to-integrate-postgres).
     */
    readonly targetResourceId: pulumi.Output<string>;
    readonly vnetSolution: pulumi.Output<string | undefined>;
    /**
     * Create a SpringCloudConnection 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: SpringCloudConnectionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SpringCloudConnection resources.
 */
export interface SpringCloudConnectionState {
    /**
     * The authentication info. An `authentication` block as defined below.
     */
    authentication?: pulumi.Input<inputs.appplatform.SpringCloudConnectionAuthentication | undefined>;
    clientType?: pulumi.Input<string | undefined>;
    /**
     * The name of the service connection. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    secretStore?: pulumi.Input<inputs.appplatform.SpringCloudConnectionSecretStore | undefined>;
    /**
     * The ID of the data source spring cloud. Changing this forces a new resource to be created.
     */
    springCloudId?: pulumi.Input<string | undefined>;
    /**
     * The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are `Postgres`, `PostgresFlexible`, `Mysql`, `Sql`, `Redis`, `RedisEnterprise`, `CosmosCassandra`, `CosmosGremlin`, `CosmosMongo`, `CosmosSql`, `CosmosTable`, `StorageBlob`, `StorageQueue`, `StorageFile`, `StorageTable`, `AppConfig`, `EventHub`, `ServiceBus`, `SignalR`, `WebPubSub`, `ConfluentKafka`. The integration guide can be found [here](https://learn.microsoft.com/en-us/azure/service-connector/how-to-integrate-postgres).
     */
    targetResourceId?: pulumi.Input<string | undefined>;
    vnetSolution?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SpringCloudConnection resource.
 */
export interface SpringCloudConnectionArgs {
    /**
     * The authentication info. An `authentication` block as defined below.
     */
    authentication: pulumi.Input<inputs.appplatform.SpringCloudConnectionAuthentication>;
    clientType?: pulumi.Input<string | undefined>;
    /**
     * The name of the service connection. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    secretStore?: pulumi.Input<inputs.appplatform.SpringCloudConnectionSecretStore | undefined>;
    /**
     * The ID of the data source spring cloud. Changing this forces a new resource to be created.
     */
    springCloudId: pulumi.Input<string>;
    /**
     * The ID of the target resource. Changing this forces a new resource to be created. Possible target resources are `Postgres`, `PostgresFlexible`, `Mysql`, `Sql`, `Redis`, `RedisEnterprise`, `CosmosCassandra`, `CosmosGremlin`, `CosmosMongo`, `CosmosSql`, `CosmosTable`, `StorageBlob`, `StorageQueue`, `StorageFile`, `StorageTable`, `AppConfig`, `EventHub`, `ServiceBus`, `SignalR`, `WebPubSub`, `ConfluentKafka`. The integration guide can be found [here](https://learn.microsoft.com/en-us/azure/service-connector/how-to-integrate-postgres).
     */
    targetResourceId: pulumi.Input<string>;
    vnetSolution?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=springCloudConnection.d.ts.map