1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Blockchain
  5. getBlockchainPlatformPatches
Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi

oci.Blockchain.getBlockchainPlatformPatches

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 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,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_blockchain_platform_patches = oci.Blockchain.get_blockchain_platform_patches(blockchain_platform_id=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.GetBlockchainPlatformPatches(ctx, &blockchain.GetBlockchainPlatformPatchesArgs{
    			BlockchainPlatformId: testBlockchainPlatform.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      testBlockchainPlatformPatches:
        fn::invoke:
          Function: oci:Blockchain:getBlockchainPlatformPatches
          Arguments:
            blockchainPlatformId: ${testBlockchainPlatform.id}
    

    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>
    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]
    func GetBlockchainPlatformPatches(ctx *Context, args *GetBlockchainPlatformPatchesArgs, opts ...InvokeOption) (*GetBlockchainPlatformPatchesResult, error)
    func GetBlockchainPlatformPatchesOutput(ctx *Context, args *GetBlockchainPlatformPatchesOutputArgs, opts ...InvokeOption) GetBlockchainPlatformPatchesResultOutput

    > 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)
    }
    public static CompletableFuture<GetBlockchainPlatformPatchesResult> getBlockchainPlatformPatches(GetBlockchainPlatformPatchesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Blockchain/getBlockchainPlatformPatches:getBlockchainPlatformPatches
      arguments:
        # arguments dictionary

    The following arguments are supported:

    blockchainPlatformId String
    Unique service identifier.
    filters 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 List<Property Map>
    Collection of PatchSummary

    GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItem

    items List<Property Map>
    Collection of PatchSummary

    GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemItem

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

    GetBlockchainPlatformPatchesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values 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.
    oci logo
    Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi