import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Peer resource in Oracle Cloud Infrastructure Blockchain service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/blockchain/latest/Peer
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/blockchain
 *
 * Create Blockchain Platform Peer
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testPeer = new oci.blockchain.Peer("test_peer", {
 *     ad: peerAd,
 *     blockchainPlatformId: testBlockchainPlatform.id,
 *     ocpuAllocationParam: {
 *         ocpuAllocationNumber: peerOcpuAllocationParamOcpuAllocationNumber,
 *     },
 *     role: peerRole,
 *     alias: peerAlias,
 * });
 * ```
 *
 * ## Import
 *
 * Peers can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Blockchain/peer:Peer test_peer "blockchainPlatforms/{blockchainPlatformId}/peers/{peerId}"
 * ```
 */
export declare class Peer extends pulumi.CustomResource {
    /**
     * Get an existing Peer 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?: PeerState, opts?: pulumi.CustomResourceOptions): Peer;
    /**
     * Returns true if the given object is an instance of Peer.  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 Peer;
    /**
     * Availability Domain to place new peer
     */
    readonly ad: pulumi.Output<string>;
    /**
     * peer alias
     */
    readonly alias: pulumi.Output<string>;
    /**
     * Unique service identifier.
     */
    readonly blockchainPlatformId: pulumi.Output<string>;
    /**
     * Host on which the Peer exists
     */
    readonly host: pulumi.Output<string>;
    /**
     * (Updatable) OCPU allocation parameter
     */
    readonly ocpuAllocationParam: pulumi.Output<outputs.Blockchain.PeerOcpuAllocationParam>;
    /**
     * peer identifier
     */
    readonly peerKey: pulumi.Output<string>;
    /**
     * Peer role
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly role: pulumi.Output<string>;
    /**
     * The current state of the peer.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Create a Peer 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: PeerArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Peer resources.
 */
export interface PeerState {
    /**
     * Availability Domain to place new peer
     */
    ad?: pulumi.Input<string | undefined>;
    /**
     * peer alias
     */
    alias?: pulumi.Input<string | undefined>;
    /**
     * Unique service identifier.
     */
    blockchainPlatformId?: pulumi.Input<string | undefined>;
    /**
     * Host on which the Peer exists
     */
    host?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) OCPU allocation parameter
     */
    ocpuAllocationParam?: pulumi.Input<inputs.Blockchain.PeerOcpuAllocationParam | undefined>;
    /**
     * peer identifier
     */
    peerKey?: pulumi.Input<string | undefined>;
    /**
     * Peer role
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    role?: pulumi.Input<string | undefined>;
    /**
     * The current state of the peer.
     */
    state?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a Peer resource.
 */
export interface PeerArgs {
    /**
     * Availability Domain to place new peer
     */
    ad: pulumi.Input<string>;
    /**
     * peer alias
     */
    alias?: pulumi.Input<string | undefined>;
    /**
     * Unique service identifier.
     */
    blockchainPlatformId: pulumi.Input<string>;
    /**
     * (Updatable) OCPU allocation parameter
     */
    ocpuAllocationParam: pulumi.Input<inputs.Blockchain.PeerOcpuAllocationParam>;
    /**
     * Peer role
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    role: pulumi.Input<string>;
}
//# sourceMappingURL=peer.d.ts.map