import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Osn resource in Oracle Cloud Infrastructure Blockchain service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/blockchain/latest/Osn * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/blockchain * * Create Blockchain Platform Osn * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOsn = new oci.blockchain.Osn("test_osn", { * ad: osnAd, * blockchainPlatformId: testBlockchainPlatform.id, * ocpuAllocationParam: { * ocpuAllocationNumber: osnOcpuAllocationParamOcpuAllocationNumber, * }, * }); * ``` * * ## Import * * Osns can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Blockchain/osn:Osn test_osn "blockchainPlatforms/{blockchainPlatformId}/osns/{osnId}" * ``` */ export declare class Osn extends pulumi.CustomResource { /** * Get an existing Osn 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, state?: OsnState, opts?: pulumi.CustomResourceOptions): Osn; /** * Returns true if the given object is an instance of Osn. 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 Osn; /** * Availability Domain to place new OSN */ readonly ad: pulumi.Output; /** * Unique service identifier. */ readonly blockchainPlatformId: pulumi.Output; /** * (Updatable) OCPU allocation parameter */ readonly ocpuAllocationParam: pulumi.Output; /** * OSN identifier */ readonly osnKey: pulumi.Output; /** * The current state of the OSN. */ readonly state: pulumi.Output; /** * Create a Osn 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: OsnArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Osn resources. */ export interface OsnState { /** * Availability Domain to place new OSN */ ad?: pulumi.Input; /** * Unique service identifier. */ blockchainPlatformId?: pulumi.Input; /** * (Updatable) OCPU allocation parameter */ ocpuAllocationParam?: pulumi.Input; /** * OSN identifier */ osnKey?: pulumi.Input; /** * The current state of the OSN. */ state?: pulumi.Input; } /** * The set of arguments for constructing a Osn resource. */ export interface OsnArgs { /** * Availability Domain to place new OSN */ ad: pulumi.Input; /** * Unique service identifier. */ blockchainPlatformId: pulumi.Input; /** * (Updatable) OCPU allocation parameter */ ocpuAllocationParam?: pulumi.Input; } //# sourceMappingURL=osn.d.ts.map