import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Peer resource in Oracle Cloud Infrastructure Blockchain service. * * Gets information about a peer identified by the specific id * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPeer = oci.blockchain.getPeer({ * blockchainPlatformId: testBlockchainPlatform.id, * peerId: testPeerOciBlockchainPeer.id, * }); * ``` */ export declare function getPeer(args: GetPeerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPeer. */ export interface GetPeerArgs { /** * Unique service identifier. */ blockchainPlatformId: string; /** * Peer identifier. */ peerId: string; } /** * A collection of values returned by getPeer. */ export interface GetPeerResult { /** * Availability Domain of peer */ readonly ad: string; /** * peer alias */ readonly alias: string; readonly blockchainPlatformId: string; /** * Host on which the Peer exists */ readonly host: string; readonly id: string; /** * OCPU allocation parameter */ readonly ocpuAllocationParams: outputs.Blockchain.GetPeerOcpuAllocationParam[]; readonly peerId: string; /** * peer identifier */ readonly peerKey: string; /** * Peer role */ readonly role: string; /** * The current state of the peer. */ readonly state: string; } /** * This data source provides details about a specific Peer resource in Oracle Cloud Infrastructure Blockchain service. * * Gets information about a peer identified by the specific id * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPeer = oci.blockchain.getPeer({ * blockchainPlatformId: testBlockchainPlatform.id, * peerId: testPeerOciBlockchainPeer.id, * }); * ``` */ export declare function getPeerOutput(args: GetPeerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPeer. */ export interface GetPeerOutputArgs { /** * Unique service identifier. */ blockchainPlatformId: pulumi.Input; /** * Peer identifier. */ peerId: pulumi.Input; } //# sourceMappingURL=getPeer.d.ts.map