oci.Blockchain.getBlockchainPlatformPatches
Explore with Pulumi AI
This data source provides the list of Blockchain Platform Patches in Oracle Cloud Infrastructure Blockchain service.
List Blockchain Platform Patches
Example Usage
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 = 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.GetBlockchainPlatformPatches(ctx, &blockchain.GetBlockchainPlatformPatchesArgs{
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.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(oci_blockchain_blockchain_platform.test_blockchain_platform().id())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_blockchain_platform_patches = oci.Blockchain.get_blockchain_platform_patches(blockchain_platform_id=oci_blockchain_blockchain_platform["test_blockchain_platform"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBlockchainPlatformPatches = oci.Blockchain.getBlockchainPlatformPatches({
blockchainPlatformId: oci_blockchain_blockchain_platform.test_blockchain_platform.id,
});
variables:
testBlockchainPlatformPatches:
fn::invoke:
Function: oci:Blockchain:getBlockchainPlatformPatches
Arguments:
blockchainPlatformId: ${oci_blockchain_blockchain_platform.test_blockchain_platform.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:
- Blockchain
Platform stringId Unique service identifier.
- Filters
List<Get
Blockchain Platform Patches Filter>
- Blockchain
Platform stringId Unique service identifier.
- Filters
[]Get
Blockchain Platform Patches Filter
- blockchain
Platform StringId Unique service identifier.
- filters
List<Get
Platform Patches Filter>
- blockchain
Platform stringId Unique service identifier.
- filters
Get
Blockchain Platform Patches Filter[]
- blockchain_
platform_ strid Unique service identifier.
- filters
Get
Blockchain Platform Patches Filter]
- blockchain
Platform StringId Unique service identifier.
- filters List<Property Map>
getBlockchainPlatformPatches Result
The following output properties are available:
- Blockchain
Platform stringId - Blockchain
Platform List<GetPatch Collections Blockchain Platform Patches Blockchain Platform Patch Collection> The list of blockchain_platform_patch_collection.
- Id string
The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Blockchain Platform Patches Filter>
- Blockchain
Platform stringId - Blockchain
Platform []GetPatch Collections Blockchain Platform Patches Blockchain Platform Patch Collection The list of blockchain_platform_patch_collection.
- Id string
The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Blockchain Platform Patches Filter
- blockchain
Platform StringId - blockchain
Platform List<GetPatch Collections Platform Patches Platform Patch Collection> The list of blockchain_platform_patch_collection.
- id String
The provider-assigned unique ID for this managed resource.
- filters
List<Get
Platform Patches Filter>
- blockchain
Platform stringId - blockchain
Platform GetPatch Collections Blockchain Platform Patches Blockchain Platform Patch Collection[] The list of blockchain_platform_patch_collection.
- id string
The provider-assigned unique ID for this managed resource.
- filters
Get
Blockchain Platform Patches Filter[]
- blockchain_
platform_ strid - blockchain_
platform_ Getpatch_ collections Blockchain Platform Patches Blockchain Platform Patch Collection] The list of blockchain_platform_patch_collection.
- id str
The provider-assigned unique ID for this managed resource.
- filters
Get
Blockchain Platform Patches Filter]
- blockchain
Platform StringId - blockchain
Platform List<Property Map>Patch Collections 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<Get
Blockchain Platform Patches Blockchain Platform Patch Collection Item> Collection of PatchSummary
- Items
[]Get
Blockchain Platform Patches Blockchain Platform Patch Collection Item Collection of PatchSummary
- items
List<Get
Platform Patches Platform Patch Collection Item> Collection of PatchSummary
- items
Get
Blockchain Platform Patches Blockchain Platform Patch Collection Item[] Collection of PatchSummary
- items
Get
Blockchain Platform Patches Blockchain Platform Patch Collection Item] Collection of PatchSummary
- items List<Property Map>
Collection of PatchSummary
GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItem
- Items
List<Get
Blockchain Platform Patches Blockchain Platform Patch Collection Item Item> Collection of PatchSummary
- Items
[]Get
Blockchain Platform Patches Blockchain Platform Patch Collection Item Item Collection of PatchSummary
- items
List<Get
Platform Patches Platform Patch Collection Item Item> Collection of PatchSummary
- items
Get
Blockchain Platform Patches Blockchain Platform Patch Collection Item Item[] Collection of PatchSummary
- items
Get
Blockchain Platform Patches Blockchain Platform Patch Collection Item Item] Collection of PatchSummary
- items List<Property Map>
Collection of PatchSummary
GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemItem
- Id string
patch id
- Patch
Info stringUrl A URL for the patch specific documentation
- Service
Version string patch service version
- Time
Patch stringDue patch due date for customer initiated patching
- Id string
patch id
- Patch
Info stringUrl A URL for the patch specific documentation
- Service
Version string patch service version
- Time
Patch stringDue patch due date for customer initiated patching
- id String
patch id
- patch
Info StringUrl A URL for the patch specific documentation
- service
Version String patch service version
- time
Patch StringDue patch due date for customer initiated patching
- id string
patch id
- patch
Info stringUrl A URL for the patch specific documentation
- service
Version string patch service version
- time
Patch stringDue patch due date for customer initiated patching
- id str
patch id
- patch_
info_ strurl A URL for the patch specific documentation
- service_
version str patch service version
- time_
patch_ strdue patch due date for customer initiated patching
- id String
patch id
- patch
Info StringUrl A URL for the patch specific documentation
- service
Version String patch service version
- time
Patch StringDue patch due date for customer initiated patching
GetBlockchainPlatformPatchesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.