oci logo
Oracle Cloud Infrastructure v0.13.0, Mar 28 23

oci.Blockchain.getBlockchainPlatform

This data source provides details about a specific Blockchain Platform resource in Oracle Cloud Infrastructure Blockchain service.

Gets information about a Blockchain Platform identified by the specific id

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testBlockchainPlatform = Oci.Blockchain.GetBlockchainPlatform.Invoke(new()
    {
        BlockchainPlatformId = oci_blockchain_blockchain_platform.Test_blockchain_platform.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Blockchain"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Blockchain.GetBlockchainPlatform(ctx, &blockchain.GetBlockchainPlatformArgs{
			BlockchainPlatformId: oci_blockchain_blockchain_platform.Test_blockchain_platform.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Blockchain.BlockchainFunctions;
import com.pulumi.oci.Blockchain.inputs.GetBlockchainPlatformArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testBlockchainPlatform = BlockchainFunctions.getBlockchainPlatform(GetBlockchainPlatformArgs.builder()
            .blockchainPlatformId(oci_blockchain_blockchain_platform.test_blockchain_platform().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_blockchain_platform = oci.Blockchain.get_blockchain_platform(blockchain_platform_id=oci_blockchain_blockchain_platform["test_blockchain_platform"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testBlockchainPlatform = oci.Blockchain.getBlockchainPlatform({
    blockchainPlatformId: oci_blockchain_blockchain_platform.test_blockchain_platform.id,
});
variables:
  testBlockchainPlatform:
    fn::invoke:
      Function: oci:Blockchain:getBlockchainPlatform
      Arguments:
        blockchainPlatformId: ${oci_blockchain_blockchain_platform.test_blockchain_platform.id}

Using getBlockchainPlatform

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getBlockchainPlatform(args: GetBlockchainPlatformArgs, opts?: InvokeOptions): Promise<GetBlockchainPlatformResult>
function getBlockchainPlatformOutput(args: GetBlockchainPlatformOutputArgs, opts?: InvokeOptions): Output<GetBlockchainPlatformResult>
def get_blockchain_platform(blockchain_platform_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetBlockchainPlatformResult
def get_blockchain_platform_output(blockchain_platform_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetBlockchainPlatformResult]
func GetBlockchainPlatform(ctx *Context, args *GetBlockchainPlatformArgs, opts ...InvokeOption) (*GetBlockchainPlatformResult, error)
func GetBlockchainPlatformOutput(ctx *Context, args *GetBlockchainPlatformOutputArgs, opts ...InvokeOption) GetBlockchainPlatformResultOutput

> Note: This function is named GetBlockchainPlatform in the Go SDK.

public static class GetBlockchainPlatform 
{
    public static Task<GetBlockchainPlatformResult> InvokeAsync(GetBlockchainPlatformArgs args, InvokeOptions? opts = null)
    public static Output<GetBlockchainPlatformResult> Invoke(GetBlockchainPlatformInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBlockchainPlatformResult> getBlockchainPlatform(GetBlockchainPlatformArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Blockchain/getBlockchainPlatform:getBlockchainPlatform
  arguments:
    # arguments dictionary

The following arguments are supported:

BlockchainPlatformId string

Unique service identifier.

BlockchainPlatformId string

Unique service identifier.

blockchainPlatformId String

Unique service identifier.

blockchainPlatformId string

Unique service identifier.

blockchain_platform_id str

Unique service identifier.

blockchainPlatformId String

Unique service identifier.

getBlockchainPlatform Result

The following output properties are available:

BlockchainPlatformId string
CaCertArchiveText string
CompartmentId string

Compartment Identifier

ComponentDetails List<GetBlockchainPlatformComponentDetail>

Blockchain Platform component details.

ComputeShape string

Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

Platform Instance Description

DisplayName string

Platform Instance Display name, can be renamed

FederatedUserId string
FreeformTags Dictionary<string, object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

HostOcpuUtilizationInfos List<GetBlockchainPlatformHostOcpuUtilizationInfo>

List of OcpuUtilization for all hosts

Id string

unique identifier that is immutable on creation

IdcsAccessToken string
IsByol bool

Bring your own license

IsMultiAd bool

True for multi-AD blockchain plaforms, false for single-AD

LifecycleDetails string

An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

LoadBalancerShape string

Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.

PlatformRole string

Role of platform - FOUNDER or PARTICIPANT

PlatformShapeType string

Type of Platform shape - DEFAULT or CUSTOM

PlatformVersion string

Platform Version

Replicas List<GetBlockchainPlatformReplica>

Number of replicas of service components like Rest Proxy, CA and Console

ServiceEndpoint string

Service endpoint URL, valid post-provisioning

ServiceVersion string

The version of the Platform Instance.

State string

The current state of the Platform Instance.

StorageSizeInTbs double

Storage size in TBs

StorageUsedInTbs double

Storage used in TBs

TimeCreated string

The time the the Platform Instance was created. An RFC3339 formatted datetime string

TimeUpdated string

The time the Platform Instance was updated. An RFC3339 formatted datetime string

TotalOcpuCapacity int

Number of total OCPUs allocated to the platform cluster

BlockchainPlatformId string
CaCertArchiveText string
CompartmentId string

Compartment Identifier

ComponentDetails []GetBlockchainPlatformComponentDetail

Blockchain Platform component details.

ComputeShape string

Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

Platform Instance Description

DisplayName string

Platform Instance Display name, can be renamed

FederatedUserId string
FreeformTags map[string]interface{}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

HostOcpuUtilizationInfos []GetBlockchainPlatformHostOcpuUtilizationInfo

List of OcpuUtilization for all hosts

Id string

unique identifier that is immutable on creation

IdcsAccessToken string
IsByol bool

Bring your own license

IsMultiAd bool

True for multi-AD blockchain plaforms, false for single-AD

LifecycleDetails string

An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

LoadBalancerShape string

Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.

PlatformRole string

Role of platform - FOUNDER or PARTICIPANT

PlatformShapeType string

Type of Platform shape - DEFAULT or CUSTOM

PlatformVersion string

Platform Version

Replicas []GetBlockchainPlatformReplica

Number of replicas of service components like Rest Proxy, CA and Console

ServiceEndpoint string

Service endpoint URL, valid post-provisioning

ServiceVersion string

The version of the Platform Instance.

State string

The current state of the Platform Instance.

StorageSizeInTbs float64

Storage size in TBs

StorageUsedInTbs float64

Storage used in TBs

TimeCreated string

The time the the Platform Instance was created. An RFC3339 formatted datetime string

TimeUpdated string

The time the Platform Instance was updated. An RFC3339 formatted datetime string

TotalOcpuCapacity int

Number of total OCPUs allocated to the platform cluster

blockchainPlatformId String
caCertArchiveText String
compartmentId String

Compartment Identifier

componentDetails List<GetPlatformComponentDetail>

Blockchain Platform component details.

computeShape String

Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

Platform Instance Description

displayName String

Platform Instance Display name, can be renamed

federatedUserId String
freeformTags Map<String,Object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

hostOcpuUtilizationInfos List<GetPlatformHostOcpuUtilizationInfo>

List of OcpuUtilization for all hosts

id String

unique identifier that is immutable on creation

idcsAccessToken String
isByol Boolean

Bring your own license

isMultiAd Boolean

True for multi-AD blockchain plaforms, false for single-AD

lifecycleDetails String

An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

loadBalancerShape String

Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.

platformRole String

Role of platform - FOUNDER or PARTICIPANT

platformShapeType String

Type of Platform shape - DEFAULT or CUSTOM

platformVersion String

Platform Version

replicas List<GetPlatformReplica>

Number of replicas of service components like Rest Proxy, CA and Console

serviceEndpoint String

Service endpoint URL, valid post-provisioning

serviceVersion String

The version of the Platform Instance.

state String

The current state of the Platform Instance.

storageSizeInTbs Double

Storage size in TBs

storageUsedInTbs Double

Storage used in TBs

timeCreated String

The time the the Platform Instance was created. An RFC3339 formatted datetime string

timeUpdated String

The time the Platform Instance was updated. An RFC3339 formatted datetime string

totalOcpuCapacity Integer

Number of total OCPUs allocated to the platform cluster

blockchainPlatformId string
caCertArchiveText string
compartmentId string

Compartment Identifier

componentDetails GetBlockchainPlatformComponentDetail[]

Blockchain Platform component details.

computeShape string

Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description string

Platform Instance Description

displayName string

Platform Instance Display name, can be renamed

federatedUserId string
freeformTags {[key: string]: any}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

hostOcpuUtilizationInfos GetBlockchainPlatformHostOcpuUtilizationInfo[]

List of OcpuUtilization for all hosts

id string

unique identifier that is immutable on creation

idcsAccessToken string
isByol boolean

Bring your own license

isMultiAd boolean

True for multi-AD blockchain plaforms, false for single-AD

lifecycleDetails string

An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

loadBalancerShape string

Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.

platformRole string

Role of platform - FOUNDER or PARTICIPANT

platformShapeType string

Type of Platform shape - DEFAULT or CUSTOM

platformVersion string

Platform Version

replicas GetBlockchainPlatformReplica[]

Number of replicas of service components like Rest Proxy, CA and Console

serviceEndpoint string

Service endpoint URL, valid post-provisioning

serviceVersion string

The version of the Platform Instance.

state string

The current state of the Platform Instance.

storageSizeInTbs number

Storage size in TBs

storageUsedInTbs number

Storage used in TBs

timeCreated string

The time the the Platform Instance was created. An RFC3339 formatted datetime string

timeUpdated string

The time the Platform Instance was updated. An RFC3339 formatted datetime string

totalOcpuCapacity number

Number of total OCPUs allocated to the platform cluster

blockchain_platform_id str
ca_cert_archive_text str
compartment_id str

Compartment Identifier

component_details GetBlockchainPlatformComponentDetail]

Blockchain Platform component details.

compute_shape str

Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description str

Platform Instance Description

display_name str

Platform Instance Display name, can be renamed

federated_user_id str
freeform_tags Mapping[str, Any]

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

host_ocpu_utilization_infos GetBlockchainPlatformHostOcpuUtilizationInfo]

List of OcpuUtilization for all hosts

id str

unique identifier that is immutable on creation

idcs_access_token str
is_byol bool

Bring your own license

is_multi_ad bool

True for multi-AD blockchain plaforms, false for single-AD

lifecycle_details str

An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

load_balancer_shape str

Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.

platform_role str

Role of platform - FOUNDER or PARTICIPANT

platform_shape_type str

Type of Platform shape - DEFAULT or CUSTOM

platform_version str

Platform Version

replicas GetBlockchainPlatformReplica]

Number of replicas of service components like Rest Proxy, CA and Console

service_endpoint str

Service endpoint URL, valid post-provisioning

service_version str

The version of the Platform Instance.

state str

The current state of the Platform Instance.

storage_size_in_tbs float

Storage size in TBs

storage_used_in_tbs float

Storage used in TBs

time_created str

The time the the Platform Instance was created. An RFC3339 formatted datetime string

time_updated str

The time the Platform Instance was updated. An RFC3339 formatted datetime string

total_ocpu_capacity int

Number of total OCPUs allocated to the platform cluster

blockchainPlatformId String
caCertArchiveText String
compartmentId String

Compartment Identifier

componentDetails List<Property Map>

Blockchain Platform component details.

computeShape String

Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

Platform Instance Description

displayName String

Platform Instance Display name, can be renamed

federatedUserId String
freeformTags Map<Any>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

hostOcpuUtilizationInfos List<Property Map>

List of OcpuUtilization for all hosts

id String

unique identifier that is immutable on creation

idcsAccessToken String
isByol Boolean

Bring your own license

isMultiAd Boolean

True for multi-AD blockchain plaforms, false for single-AD

lifecycleDetails String

An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

loadBalancerShape String

Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.

platformRole String

Role of platform - FOUNDER or PARTICIPANT

platformShapeType String

Type of Platform shape - DEFAULT or CUSTOM

platformVersion String

Platform Version

replicas List<Property Map>

Number of replicas of service components like Rest Proxy, CA and Console

serviceEndpoint String

Service endpoint URL, valid post-provisioning

serviceVersion String

The version of the Platform Instance.

state String

The current state of the Platform Instance.

storageSizeInTbs Number

Storage size in TBs

storageUsedInTbs Number

Storage used in TBs

timeCreated String

The time the the Platform Instance was created. An RFC3339 formatted datetime string

timeUpdated String

The time the Platform Instance was updated. An RFC3339 formatted datetime string

totalOcpuCapacity Number

Number of total OCPUs allocated to the platform cluster

Supporting Types

GetBlockchainPlatformComponentDetail

GetBlockchainPlatformComponentDetailOsn

Ad string

Availability Domain of peer

OcpuAllocationParams List<GetBlockchainPlatformComponentDetailOsnOcpuAllocationParam>

OCPU allocation parameter

OsnKey string

OSN identifier

State string

The current state of the Platform Instance.

Ad string

Availability Domain of peer

OcpuAllocationParams []GetBlockchainPlatformComponentDetailOsnOcpuAllocationParam

OCPU allocation parameter

OsnKey string

OSN identifier

State string

The current state of the Platform Instance.

ad String

Availability Domain of peer

ocpuAllocationParams List<GetPlatformComponentDetailOsnOcpuAllocationParam>

OCPU allocation parameter

osnKey String

OSN identifier

state String

The current state of the Platform Instance.

ad string

Availability Domain of peer

ocpuAllocationParams GetBlockchainPlatformComponentDetailOsnOcpuAllocationParam[]

OCPU allocation parameter

osnKey string

OSN identifier

state string

The current state of the Platform Instance.

ad str

Availability Domain of peer

ocpu_allocation_params GetBlockchainPlatformComponentDetailOsnOcpuAllocationParam]

OCPU allocation parameter

osn_key str

OSN identifier

state str

The current state of the Platform Instance.

ad String

Availability Domain of peer

ocpuAllocationParams List<Property Map>

OCPU allocation parameter

osnKey String

OSN identifier

state String

The current state of the Platform Instance.

GetBlockchainPlatformComponentDetailOsnOcpuAllocationParam

OcpuAllocationNumber double

Number of OCPU allocation

OcpuAllocationNumber float64

Number of OCPU allocation

ocpuAllocationNumber Double

Number of OCPU allocation

ocpuAllocationNumber number

Number of OCPU allocation

ocpu_allocation_number float

Number of OCPU allocation

ocpuAllocationNumber Number

Number of OCPU allocation

GetBlockchainPlatformComponentDetailPeer

Ad string

Availability Domain of peer

Alias string

peer alias

Host string

Host name of VM

OcpuAllocationParams List<GetBlockchainPlatformComponentDetailPeerOcpuAllocationParam>

OCPU allocation parameter

PeerKey string

peer identifier

Role string

Peer role

State string

The current state of the Platform Instance.

Ad string

Availability Domain of peer

Alias string

peer alias

Host string

Host name of VM

OcpuAllocationParams []GetBlockchainPlatformComponentDetailPeerOcpuAllocationParam

OCPU allocation parameter

PeerKey string

peer identifier

Role string

Peer role

State string

The current state of the Platform Instance.

ad String

Availability Domain of peer

alias String

peer alias

host String

Host name of VM

ocpuAllocationParams List<GetPlatformComponentDetailPeerOcpuAllocationParam>

OCPU allocation parameter

peerKey String

peer identifier

role String

Peer role

state String

The current state of the Platform Instance.

ad string

Availability Domain of peer

alias string

peer alias

host string

Host name of VM

ocpuAllocationParams GetBlockchainPlatformComponentDetailPeerOcpuAllocationParam[]

OCPU allocation parameter

peerKey string

peer identifier

role string

Peer role

state string

The current state of the Platform Instance.

ad str

Availability Domain of peer

alias str

peer alias

host str

Host name of VM

ocpu_allocation_params GetBlockchainPlatformComponentDetailPeerOcpuAllocationParam]

OCPU allocation parameter

peer_key str

peer identifier

role str

Peer role

state str

The current state of the Platform Instance.

ad String

Availability Domain of peer

alias String

peer alias

host String

Host name of VM

ocpuAllocationParams List<Property Map>

OCPU allocation parameter

peerKey String

peer identifier

role String

Peer role

state String

The current state of the Platform Instance.

GetBlockchainPlatformComponentDetailPeerOcpuAllocationParam

OcpuAllocationNumber double

Number of OCPU allocation

OcpuAllocationNumber float64

Number of OCPU allocation

ocpuAllocationNumber Double

Number of OCPU allocation

ocpuAllocationNumber number

Number of OCPU allocation

ocpu_allocation_number float

Number of OCPU allocation

ocpuAllocationNumber Number

Number of OCPU allocation

GetBlockchainPlatformHostOcpuUtilizationInfo

Host string

Host name of VM

OcpuCapacityNumber double

Number of total OCPU capacity on the host

OcpuUtilizationNumber double

Number of OCPU utilized

Host string

Host name of VM

OcpuCapacityNumber float64

Number of total OCPU capacity on the host

OcpuUtilizationNumber float64

Number of OCPU utilized

host String

Host name of VM

ocpuCapacityNumber Double

Number of total OCPU capacity on the host

ocpuUtilizationNumber Double

Number of OCPU utilized

host string

Host name of VM

ocpuCapacityNumber number

Number of total OCPU capacity on the host

ocpuUtilizationNumber number

Number of OCPU utilized

host str

Host name of VM

ocpu_capacity_number float

Number of total OCPU capacity on the host

ocpu_utilization_number float

Number of OCPU utilized

host String

Host name of VM

ocpuCapacityNumber Number

Number of total OCPU capacity on the host

ocpuUtilizationNumber Number

Number of OCPU utilized

GetBlockchainPlatformReplica

CaCount int

Number of CA replicas

ConsoleCount int

Number of console replicas

ProxyCount int

Number of REST proxy replicas

CaCount int

Number of CA replicas

ConsoleCount int

Number of console replicas

ProxyCount int

Number of REST proxy replicas

caCount Integer

Number of CA replicas

consoleCount Integer

Number of console replicas

proxyCount Integer

Number of REST proxy replicas

caCount number

Number of CA replicas

consoleCount number

Number of console replicas

proxyCount number

Number of REST proxy replicas

ca_count int

Number of CA replicas

console_count int

Number of console replicas

proxy_count int

Number of REST proxy replicas

caCount Number

Number of CA replicas

consoleCount Number

Number of console replicas

proxyCount Number

Number of REST proxy replicas

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.