Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

BlockchainPlatform

This resource provides the Blockchain Platform resource in Oracle Cloud Infrastructure Blockchain service.

Creates a new Blockchain Platform.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testBlockchainPlatform = new Oci.Blockchain.BlockchainPlatform("testBlockchainPlatform", new Oci.Blockchain.BlockchainPlatformArgs
        {
            CompartmentId = @var.Compartment_id,
            ComputeShape = @var.Blockchain_platform_compute_shape,
            DisplayName = @var.Blockchain_platform_display_name,
            IdcsAccessToken = @var.Blockchain_platform_idcs_access_token,
            PlatformRole = @var.Blockchain_platform_platform_role,
            CaCertArchiveText = @var.Blockchain_platform_ca_cert_archive_text,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = @var.Blockchain_platform_description,
            FederatedUserId = oci_identity_user.Test_user.Id,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            IsByol = @var.Blockchain_platform_is_byol,
            PlatformVersion = @var.Blockchain_platform_platform_version,
        });
    }

}
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.NewBlockchainPlatform(ctx, "testBlockchainPlatform", &Blockchain.BlockchainPlatformArgs{
			CompartmentId:     pulumi.Any(_var.Compartment_id),
			ComputeShape:      pulumi.Any(_var.Blockchain_platform_compute_shape),
			DisplayName:       pulumi.Any(_var.Blockchain_platform_display_name),
			IdcsAccessToken:   pulumi.Any(_var.Blockchain_platform_idcs_access_token),
			PlatformRole:      pulumi.Any(_var.Blockchain_platform_platform_role),
			CaCertArchiveText: pulumi.Any(_var.Blockchain_platform_ca_cert_archive_text),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			Description:     pulumi.Any(_var.Blockchain_platform_description),
			FederatedUserId: pulumi.Any(oci_identity_user.Test_user.Id),
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
			IsByol:          pulumi.Any(_var.Blockchain_platform_is_byol),
			PlatformVersion: pulumi.Any(_var.Blockchain_platform_platform_version),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_blockchain_platform = oci.blockchain.BlockchainPlatform("testBlockchainPlatform",
    compartment_id=var["compartment_id"],
    compute_shape=var["blockchain_platform_compute_shape"],
    display_name=var["blockchain_platform_display_name"],
    idcs_access_token=var["blockchain_platform_idcs_access_token"],
    platform_role=var["blockchain_platform_platform_role"],
    ca_cert_archive_text=var["blockchain_platform_ca_cert_archive_text"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=var["blockchain_platform_description"],
    federated_user_id=oci_identity_user["test_user"]["id"],
    freeform_tags={
        "bar-key": "value",
    },
    is_byol=var["blockchain_platform_is_byol"],
    platform_version=var["blockchain_platform_platform_version"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testBlockchainPlatform = new oci.blockchain.BlockchainPlatform("testBlockchainPlatform", {
    compartmentId: _var.compartment_id,
    computeShape: _var.blockchain_platform_compute_shape,
    displayName: _var.blockchain_platform_display_name,
    idcsAccessToken: _var.blockchain_platform_idcs_access_token,
    platformRole: _var.blockchain_platform_platform_role,
    caCertArchiveText: _var.blockchain_platform_ca_cert_archive_text,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: _var.blockchain_platform_description,
    federatedUserId: oci_identity_user.test_user.id,
    freeformTags: {
        "bar-key": "value",
    },
    isByol: _var.blockchain_platform_is_byol,
    platformVersion: _var.blockchain_platform_platform_version,
});

Coming soon!

Create a BlockchainPlatform Resource

new BlockchainPlatform(name: string, args: BlockchainPlatformArgs, opts?: CustomResourceOptions);
@overload
def BlockchainPlatform(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       ca_cert_archive_text: Optional[str] = None,
                       compartment_id: Optional[str] = None,
                       compute_shape: Optional[str] = None,
                       defined_tags: Optional[Mapping[str, Any]] = None,
                       description: Optional[str] = None,
                       display_name: Optional[str] = None,
                       federated_user_id: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, Any]] = None,
                       idcs_access_token: Optional[str] = None,
                       is_byol: Optional[bool] = None,
                       load_balancer_shape: Optional[str] = None,
                       platform_role: Optional[str] = None,
                       platform_version: Optional[str] = None,
                       replicas: Optional[_blockchain.BlockchainPlatformReplicasArgs] = None,
                       storage_size_in_tbs: Optional[float] = None,
                       total_ocpu_capacity: Optional[int] = None)
@overload
def BlockchainPlatform(resource_name: str,
                       args: BlockchainPlatformArgs,
                       opts: Optional[ResourceOptions] = None)
func NewBlockchainPlatform(ctx *Context, name string, args BlockchainPlatformArgs, opts ...ResourceOption) (*BlockchainPlatform, error)
public BlockchainPlatform(string name, BlockchainPlatformArgs args, CustomResourceOptions? opts = null)
public BlockchainPlatform(String name, BlockchainPlatformArgs args)
public BlockchainPlatform(String name, BlockchainPlatformArgs args, CustomResourceOptions options)
type: oci:Blockchain:BlockchainPlatform
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BlockchainPlatformArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args BlockchainPlatformArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args BlockchainPlatformArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BlockchainPlatformArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BlockchainPlatformArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

BlockchainPlatform Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The BlockchainPlatform resource accepts the following input properties:

CompartmentId string

(Updatable) Compartment Identifier

ComputeShape string

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

DisplayName string

Platform Instance Display name, can be renamed

IdcsAccessToken string

IDCS access token with Identity Domain Administrator role

PlatformRole string

Role of platform - founder or participant

CaCertArchiveText string

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

DefinedTags Dictionary<string, object>

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

Description string

(Updatable) Platform Instance Description

FederatedUserId string

Identifier for a federated user

FreeformTags Dictionary<string, object>

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

IsByol bool

Bring your own license

LoadBalancerShape string

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

PlatformVersion string

Platform version

Replicas BlockchainPlatformReplicasArgs

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

StorageSizeInTbs double

Storage size in TBs

TotalOcpuCapacity int

Number of total OCPUs allocated to the platform cluster

CompartmentId string

(Updatable) Compartment Identifier

ComputeShape string

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

DisplayName string

Platform Instance Display name, can be renamed

IdcsAccessToken string

IDCS access token with Identity Domain Administrator role

PlatformRole string

Role of platform - founder or participant

CaCertArchiveText string

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

DefinedTags map[string]interface{}

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

Description string

(Updatable) Platform Instance Description

FederatedUserId string

Identifier for a federated user

FreeformTags map[string]interface{}

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

IsByol bool

Bring your own license

LoadBalancerShape string

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

PlatformVersion string

Platform version

Replicas BlockchainPlatformReplicasArgs

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

StorageSizeInTbs float64

Storage size in TBs

TotalOcpuCapacity int

Number of total OCPUs allocated to the platform cluster

compartmentId String

(Updatable) Compartment Identifier

computeShape String

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

displayName String

Platform Instance Display name, can be renamed

idcsAccessToken String

IDCS access token with Identity Domain Administrator role

platformRole String

Role of platform - founder or participant

caCertArchiveText String

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

definedTags Map<String,Object>

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

description String

(Updatable) Platform Instance Description

federatedUserId String

Identifier for a federated user

freeformTags Map<String,Object>

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

isByol Boolean

Bring your own license

loadBalancerShape String

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

platformVersion String

Platform version

replicas PlatformReplicasArgs

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

storageSizeInTbs Double

Storage size in TBs

totalOcpuCapacity Integer

Number of total OCPUs allocated to the platform cluster

compartmentId string

(Updatable) Compartment Identifier

computeShape string

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

displayName string

Platform Instance Display name, can be renamed

idcsAccessToken string

IDCS access token with Identity Domain Administrator role

platformRole string

Role of platform - founder or participant

caCertArchiveText string

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

definedTags {[key: string]: any}

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

description string

(Updatable) Platform Instance Description

federatedUserId string

Identifier for a federated user

freeformTags {[key: string]: any}

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

isByol boolean

Bring your own license

loadBalancerShape string

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

platformVersion string

Platform version

replicas BlockchainPlatformReplicasArgs

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

storageSizeInTbs number

Storage size in TBs

totalOcpuCapacity number

Number of total OCPUs allocated to the platform cluster

compartment_id str

(Updatable) Compartment Identifier

compute_shape str

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

display_name str

Platform Instance Display name, can be renamed

idcs_access_token str

IDCS access token with Identity Domain Administrator role

platform_role str

Role of platform - founder or participant

ca_cert_archive_text str

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

defined_tags Mapping[str, Any]

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

description str

(Updatable) Platform Instance Description

federated_user_id str

Identifier for a federated user

freeform_tags Mapping[str, Any]

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

is_byol bool

Bring your own license

load_balancer_shape str

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

platform_version str

Platform version

replicas BlockchainPlatformReplicasArgs

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

storage_size_in_tbs float

Storage size in TBs

total_ocpu_capacity int

Number of total OCPUs allocated to the platform cluster

compartmentId String

(Updatable) Compartment Identifier

computeShape String

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

displayName String

Platform Instance Display name, can be renamed

idcsAccessToken String

IDCS access token with Identity Domain Administrator role

platformRole String

Role of platform - founder or participant

caCertArchiveText String

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

definedTags Map<Any>

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

description String

(Updatable) Platform Instance Description

federatedUserId String

Identifier for a federated user

freeformTags Map<Any>

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

isByol Boolean

Bring your own license

loadBalancerShape String

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

platformVersion String

Platform version

replicas Property Map

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

storageSizeInTbs Number

Storage size in TBs

totalOcpuCapacity Number

Number of total OCPUs allocated to the platform cluster

Outputs

All input properties are implicitly available as output properties. Additionally, the BlockchainPlatform resource produces the following output properties:

ComponentDetails List<BlockchainPlatformComponentDetail>

Blockchain Platform component details.

HostOcpuUtilizationInfos List<BlockchainPlatformHostOcpuUtilizationInfo>

List of OcpuUtilization for all hosts

Id string

The provider-assigned unique ID for this managed resource.

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.

PlatformShapeType string

Type of Platform shape - DEFAULT or CUSTOM

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.

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

ComponentDetails []BlockchainPlatformComponentDetail

Blockchain Platform component details.

HostOcpuUtilizationInfos []BlockchainPlatformHostOcpuUtilizationInfo

List of OcpuUtilization for all hosts

Id string

The provider-assigned unique ID for this managed resource.

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.

PlatformShapeType string

Type of Platform shape - DEFAULT or CUSTOM

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.

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

componentDetails List<PlatformComponentDetail>

Blockchain Platform component details.

hostOcpuUtilizationInfos List<PlatformHostOcpuUtilizationInfo>

List of OcpuUtilization for all hosts

id String

The provider-assigned unique ID for this managed resource.

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.

platformShapeType String

Type of Platform shape - DEFAULT or CUSTOM

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.

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

componentDetails BlockchainPlatformComponentDetail[]

Blockchain Platform component details.

hostOcpuUtilizationInfos BlockchainPlatformHostOcpuUtilizationInfo[]

List of OcpuUtilization for all hosts

id string

The provider-assigned unique ID for this managed resource.

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.

platformShapeType string

Type of Platform shape - DEFAULT or CUSTOM

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.

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

component_details BlockchainPlatformComponentDetail]

Blockchain Platform component details.

host_ocpu_utilization_infos BlockchainPlatformHostOcpuUtilizationInfo]

List of OcpuUtilization for all hosts

id str

The provider-assigned unique ID for this managed resource.

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.

platform_shape_type str

Type of Platform shape - DEFAULT or CUSTOM

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_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

componentDetails List<Property Map>

Blockchain Platform component details.

hostOcpuUtilizationInfos List<Property Map>

List of OcpuUtilization for all hosts

id String

The provider-assigned unique ID for this managed resource.

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.

platformShapeType String

Type of Platform shape - DEFAULT or CUSTOM

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.

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

Look up an Existing BlockchainPlatform Resource

Get an existing BlockchainPlatform resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: BlockchainPlatformState, opts?: CustomResourceOptions): BlockchainPlatform
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ca_cert_archive_text: Optional[str] = None,
        compartment_id: Optional[str] = None,
        component_details: Optional[Sequence[_blockchain.BlockchainPlatformComponentDetailArgs]] = None,
        compute_shape: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        federated_user_id: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        host_ocpu_utilization_infos: Optional[Sequence[_blockchain.BlockchainPlatformHostOcpuUtilizationInfoArgs]] = None,
        idcs_access_token: Optional[str] = None,
        is_byol: Optional[bool] = None,
        is_multi_ad: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        load_balancer_shape: Optional[str] = None,
        platform_role: Optional[str] = None,
        platform_shape_type: Optional[str] = None,
        platform_version: Optional[str] = None,
        replicas: Optional[_blockchain.BlockchainPlatformReplicasArgs] = None,
        service_endpoint: Optional[str] = None,
        service_version: Optional[str] = None,
        state: Optional[str] = None,
        storage_size_in_tbs: Optional[float] = None,
        storage_used_in_tbs: Optional[float] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None,
        total_ocpu_capacity: Optional[int] = None) -> BlockchainPlatform
func GetBlockchainPlatform(ctx *Context, name string, id IDInput, state *BlockchainPlatformState, opts ...ResourceOption) (*BlockchainPlatform, error)
public static BlockchainPlatform Get(string name, Input<string> id, BlockchainPlatformState? state, CustomResourceOptions? opts = null)
public static BlockchainPlatform get(String name, Output<String> id, BlockchainPlatformState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CaCertArchiveText string

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

CompartmentId string

(Updatable) Compartment Identifier

ComponentDetails List<BlockchainPlatformComponentDetailArgs>

Blockchain Platform component details.

ComputeShape string

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

DefinedTags Dictionary<string, object>

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

Description string

(Updatable) Platform Instance Description

DisplayName string

Platform Instance Display name, can be renamed

FederatedUserId string

Identifier for a federated user

FreeformTags Dictionary<string, object>

(Updatable) 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<BlockchainPlatformHostOcpuUtilizationInfoArgs>

List of OcpuUtilization for all hosts

IdcsAccessToken string

IDCS access token with Identity Domain Administrator role

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

(Updatable) 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 BlockchainPlatformReplicasArgs

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

CaCertArchiveText string

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

CompartmentId string

(Updatable) Compartment Identifier

ComponentDetails []BlockchainPlatformComponentDetailArgs

Blockchain Platform component details.

ComputeShape string

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

DefinedTags map[string]interface{}

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

Description string

(Updatable) Platform Instance Description

DisplayName string

Platform Instance Display name, can be renamed

FederatedUserId string

Identifier for a federated user

FreeformTags map[string]interface{}

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

HostOcpuUtilizationInfos []BlockchainPlatformHostOcpuUtilizationInfoArgs

List of OcpuUtilization for all hosts

IdcsAccessToken string

IDCS access token with Identity Domain Administrator role

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

(Updatable) 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 BlockchainPlatformReplicasArgs

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

caCertArchiveText String

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

compartmentId String

(Updatable) Compartment Identifier

componentDetails List<PlatformComponentDetailArgs>

Blockchain Platform component details.

computeShape String

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

definedTags Map<String,Object>

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

description String

(Updatable) Platform Instance Description

displayName String

Platform Instance Display name, can be renamed

federatedUserId String

Identifier for a federated user

freeformTags Map<String,Object>

(Updatable) 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<PlatformHostOcpuUtilizationInfoArgs>

List of OcpuUtilization for all hosts

idcsAccessToken String

IDCS access token with Identity Domain Administrator role

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

(Updatable) 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 PlatformReplicasArgs

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

caCertArchiveText string

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

compartmentId string

(Updatable) Compartment Identifier

componentDetails BlockchainPlatformComponentDetailArgs[]

Blockchain Platform component details.

computeShape string

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

definedTags {[key: string]: any}

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

description string

(Updatable) Platform Instance Description

displayName string

Platform Instance Display name, can be renamed

federatedUserId string

Identifier for a federated user

freeformTags {[key: string]: any}

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

hostOcpuUtilizationInfos BlockchainPlatformHostOcpuUtilizationInfoArgs[]

List of OcpuUtilization for all hosts

idcsAccessToken string

IDCS access token with Identity Domain Administrator role

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

(Updatable) 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 BlockchainPlatformReplicasArgs

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

ca_cert_archive_text str

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

compartment_id str

(Updatable) Compartment Identifier

component_details BlockchainPlatformComponentDetailArgs]

Blockchain Platform component details.

compute_shape str

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

defined_tags Mapping[str, Any]

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

description str

(Updatable) Platform Instance Description

display_name str

Platform Instance Display name, can be renamed

federated_user_id str

Identifier for a federated user

freeform_tags Mapping[str, Any]

(Updatable) 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 BlockchainPlatformHostOcpuUtilizationInfoArgs]

List of OcpuUtilization for all hosts

idcs_access_token str

IDCS access token with Identity Domain Administrator role

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

(Updatable) 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 BlockchainPlatformReplicasArgs

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

caCertArchiveText String

Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file. The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].

compartmentId String

(Updatable) 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

definedTags Map<Any>

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

description String

(Updatable) Platform Instance Description

displayName String

Platform Instance Display name, can be renamed

federatedUserId String

Identifier for a federated user

freeformTags Map<Any>

(Updatable) 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

idcsAccessToken String

IDCS access token with Identity Domain Administrator role

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

(Updatable) 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 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

BlockchainPlatformComponentDetail

BlockchainPlatformComponentDetailOsn

Ad string

Availability Domain of peer

OcpuAllocationParams List<BlockchainPlatformComponentDetailOsnOcpuAllocationParam>

OCPU allocation parameter

OsnKey string

OSN identifier

State string

The current state of the Platform Instance.

Ad string

Availability Domain of peer

OcpuAllocationParams []BlockchainPlatformComponentDetailOsnOcpuAllocationParam

OCPU allocation parameter

OsnKey string

OSN identifier

State string

The current state of the Platform Instance.

ad String

Availability Domain of peer

ocpuAllocationParams List<PlatformComponentDetailOsnOcpuAllocationParam>

OCPU allocation parameter

osnKey String

OSN identifier

state String

The current state of the Platform Instance.

ad string

Availability Domain of peer

ocpuAllocationParams BlockchainPlatformComponentDetailOsnOcpuAllocationParam[]

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 BlockchainPlatformComponentDetailOsnOcpuAllocationParam]

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.

BlockchainPlatformComponentDetailOsnOcpuAllocationParam

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

BlockchainPlatformComponentDetailPeer

Ad string

Availability Domain of peer

Alias string

peer alias

Host string

Host name of VM

OcpuAllocationParams List<BlockchainPlatformComponentDetailPeerOcpuAllocationParam>

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 []BlockchainPlatformComponentDetailPeerOcpuAllocationParam

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<PlatformComponentDetailPeerOcpuAllocationParam>

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 BlockchainPlatformComponentDetailPeerOcpuAllocationParam[]

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 BlockchainPlatformComponentDetailPeerOcpuAllocationParam]

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.

BlockchainPlatformComponentDetailPeerOcpuAllocationParam

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

BlockchainPlatformHostOcpuUtilizationInfo

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

BlockchainPlatformReplicas

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

Import

BlockchainPlatforms can be imported using the id, e.g.

 $ pulumi import oci:Blockchain/blockchainPlatform:BlockchainPlatform test_blockchain_platform "id"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.