1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Blockchain
  5. getBlockchainPlatformPatches
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.Blockchain.getBlockchainPlatformPatches

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides the list of Blockchain Platform Patches in Oracle Cloud Infrastructure Blockchain service.

List Blockchain Platform Patches

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testBlockchainPlatformPatches = oci.Blockchain.getBlockchainPlatformPatches({
    blockchainPlatformId: testBlockchainPlatform.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_blockchain_platform_patches = oci.Blockchain.get_blockchain_platform_patches(blockchain_platform_id=test_blockchain_platform["id"])
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blockchain.GetBlockchainPlatformPatches(ctx, &blockchain.GetBlockchainPlatformPatchesArgs{
			BlockchainPlatformId: testBlockchainPlatform.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

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

});
Copy
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.GetBlockchainPlatformPatchesArgs;
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 testBlockchainPlatformPatches = BlockchainFunctions.getBlockchainPlatformPatches(GetBlockchainPlatformPatchesArgs.builder()
            .blockchainPlatformId(testBlockchainPlatform.id())
            .build());

    }
}
Copy
variables:
  testBlockchainPlatformPatches:
    fn::invoke:
      function: oci:Blockchain:getBlockchainPlatformPatches
      arguments:
        blockchainPlatformId: ${testBlockchainPlatform.id}
Copy

Using getBlockchainPlatformPatches

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 getBlockchainPlatformPatches(args: GetBlockchainPlatformPatchesArgs, opts?: InvokeOptions): Promise<GetBlockchainPlatformPatchesResult>
function getBlockchainPlatformPatchesOutput(args: GetBlockchainPlatformPatchesOutputArgs, opts?: InvokeOptions): Output<GetBlockchainPlatformPatchesResult>
Copy
def get_blockchain_platform_patches(blockchain_platform_id: Optional[str] = None,
                                    filters: Optional[Sequence[_blockchain.GetBlockchainPlatformPatchesFilter]] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetBlockchainPlatformPatchesResult
def get_blockchain_platform_patches_output(blockchain_platform_id: Optional[pulumi.Input[str]] = None,
                                    filters: Optional[pulumi.Input[Sequence[pulumi.Input[_blockchain.GetBlockchainPlatformPatchesFilterArgs]]]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetBlockchainPlatformPatchesResult]
Copy
func GetBlockchainPlatformPatches(ctx *Context, args *GetBlockchainPlatformPatchesArgs, opts ...InvokeOption) (*GetBlockchainPlatformPatchesResult, error)
func GetBlockchainPlatformPatchesOutput(ctx *Context, args *GetBlockchainPlatformPatchesOutputArgs, opts ...InvokeOption) GetBlockchainPlatformPatchesResultOutput
Copy

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

public static class GetBlockchainPlatformPatches 
{
    public static Task<GetBlockchainPlatformPatchesResult> InvokeAsync(GetBlockchainPlatformPatchesArgs args, InvokeOptions? opts = null)
    public static Output<GetBlockchainPlatformPatchesResult> Invoke(GetBlockchainPlatformPatchesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBlockchainPlatformPatchesResult> getBlockchainPlatformPatches(GetBlockchainPlatformPatchesArgs args, InvokeOptions options)
public static Output<GetBlockchainPlatformPatchesResult> getBlockchainPlatformPatches(GetBlockchainPlatformPatchesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Blockchain/getBlockchainPlatformPatches:getBlockchainPlatformPatches
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BlockchainPlatformId This property is required. string
Unique service identifier.
Filters Changes to this property will trigger replacement. List<GetBlockchainPlatformPatchesFilter>
BlockchainPlatformId This property is required. string
Unique service identifier.
Filters Changes to this property will trigger replacement. []GetBlockchainPlatformPatchesFilter
blockchainPlatformId This property is required. String
Unique service identifier.
filters Changes to this property will trigger replacement. List<GetPlatformPatchesFilter>
blockchainPlatformId This property is required. string
Unique service identifier.
filters Changes to this property will trigger replacement. GetBlockchainPlatformPatchesFilter[]
blockchain_platform_id This property is required. str
Unique service identifier.
filters Changes to this property will trigger replacement. Sequence[blockchain.GetBlockchainPlatformPatchesFilter]
blockchainPlatformId This property is required. String
Unique service identifier.
filters Changes to this property will trigger replacement. List<Property Map>

getBlockchainPlatformPatches Result

The following output properties are available:

BlockchainPlatformId string
BlockchainPlatformPatchCollections List<GetBlockchainPlatformPatchesBlockchainPlatformPatchCollection>
The list of blockchain_platform_patch_collection.
Id string
The provider-assigned unique ID for this managed resource.
Filters List<GetBlockchainPlatformPatchesFilter>
BlockchainPlatformId string
BlockchainPlatformPatchCollections []GetBlockchainPlatformPatchesBlockchainPlatformPatchCollection
The list of blockchain_platform_patch_collection.
Id string
The provider-assigned unique ID for this managed resource.
Filters []GetBlockchainPlatformPatchesFilter
blockchainPlatformId String
blockchainPlatformPatchCollections List<GetPlatformPatchesPlatformPatchCollection>
The list of blockchain_platform_patch_collection.
id String
The provider-assigned unique ID for this managed resource.
filters List<GetPlatformPatchesFilter>
blockchainPlatformId string
blockchainPlatformPatchCollections GetBlockchainPlatformPatchesBlockchainPlatformPatchCollection[]
The list of blockchain_platform_patch_collection.
id string
The provider-assigned unique ID for this managed resource.
filters GetBlockchainPlatformPatchesFilter[]
blockchainPlatformId String
blockchainPlatformPatchCollections List<Property Map>
The list of blockchain_platform_patch_collection.
id String
The provider-assigned unique ID for this managed resource.
filters List<Property Map>

Supporting Types

GetBlockchainPlatformPatchesBlockchainPlatformPatchCollection

Items This property is required. List<GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItem>
Collection of PatchSummary
Items This property is required. []GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItem
Collection of PatchSummary
items This property is required. List<GetPlatformPatchesPlatformPatchCollectionItem>
Collection of PatchSummary
items This property is required. GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItem[]
Collection of PatchSummary
items This property is required. List<Property Map>
Collection of PatchSummary

GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItem

Items This property is required. List<GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemItem>
Collection of PatchSummary
Items This property is required. []GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemItem
Collection of PatchSummary
items This property is required. List<GetPlatformPatchesPlatformPatchCollectionItemItem>
Collection of PatchSummary
items This property is required. GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemItem[]
Collection of PatchSummary
items This property is required. List<Property Map>
Collection of PatchSummary

GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemItem

Id This property is required. string
patch id
PatchInfoUrl This property is required. string
A URL for the patch specific documentation
ServiceVersion This property is required. string
patch service version
TimePatchDue This property is required. string
patch due date for customer initiated patching
Id This property is required. string
patch id
PatchInfoUrl This property is required. string
A URL for the patch specific documentation
ServiceVersion This property is required. string
patch service version
TimePatchDue This property is required. string
patch due date for customer initiated patching
id This property is required. String
patch id
patchInfoUrl This property is required. String
A URL for the patch specific documentation
serviceVersion This property is required. String
patch service version
timePatchDue This property is required. String
patch due date for customer initiated patching
id This property is required. string
patch id
patchInfoUrl This property is required. string
A URL for the patch specific documentation
serviceVersion This property is required. string
patch service version
timePatchDue This property is required. string
patch due date for customer initiated patching
id This property is required. str
patch id
patch_info_url This property is required. str
A URL for the patch specific documentation
service_version This property is required. str
patch service version
time_patch_due This property is required. str
patch due date for customer initiated patching
id This property is required. String
patch id
patchInfoUrl This property is required. String
A URL for the patch specific documentation
serviceVersion This property is required. String
patch service version
timePatchDue This property is required. String
patch due date for customer initiated patching

GetBlockchainPlatformPatchesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi