Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.BigDataService.getBdsInstancePatchHistories
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides the list of Bds Instance Patch Histories in Oracle Cloud Infrastructure Big Data Service service.
List the patch history of this cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBdsInstancePatchHistories = oci.BigDataService.getBdsInstancePatchHistories({
bdsInstanceId: testBdsInstance.id,
patchType: bdsInstancePatchHistoryPatchType,
patchVersion: bdsInstancePatchHistoryPatchVersion,
state: bdsInstancePatchHistoryState,
});
import pulumi
import pulumi_oci as oci
test_bds_instance_patch_histories = oci.BigDataService.get_bds_instance_patch_histories(bds_instance_id=test_bds_instance["id"],
patch_type=bds_instance_patch_history_patch_type,
patch_version=bds_instance_patch_history_patch_version,
state=bds_instance_patch_history_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/BigDataService"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := BigDataService.GetBdsInstancePatchHistories(ctx, &bigdataservice.GetBdsInstancePatchHistoriesArgs{
BdsInstanceId: testBdsInstance.Id,
PatchType: pulumi.StringRef(bdsInstancePatchHistoryPatchType),
PatchVersion: pulumi.StringRef(bdsInstancePatchHistoryPatchVersion),
State: pulumi.StringRef(bdsInstancePatchHistoryState),
}, 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 testBdsInstancePatchHistories = Oci.BigDataService.GetBdsInstancePatchHistories.Invoke(new()
{
BdsInstanceId = testBdsInstance.Id,
PatchType = bdsInstancePatchHistoryPatchType,
PatchVersion = bdsInstancePatchHistoryPatchVersion,
State = bdsInstancePatchHistoryState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.BigDataService.BigDataServiceFunctions;
import com.pulumi.oci.BigDataService.inputs.GetBdsInstancePatchHistoriesArgs;
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 testBdsInstancePatchHistories = BigDataServiceFunctions.getBdsInstancePatchHistories(GetBdsInstancePatchHistoriesArgs.builder()
.bdsInstanceId(testBdsInstance.id())
.patchType(bdsInstancePatchHistoryPatchType)
.patchVersion(bdsInstancePatchHistoryPatchVersion)
.state(bdsInstancePatchHistoryState)
.build());
}
}
variables:
testBdsInstancePatchHistories:
fn::invoke:
Function: oci:BigDataService:getBdsInstancePatchHistories
Arguments:
bdsInstanceId: ${testBdsInstance.id}
patchType: ${bdsInstancePatchHistoryPatchType}
patchVersion: ${bdsInstancePatchHistoryPatchVersion}
state: ${bdsInstancePatchHistoryState}
Using getBdsInstancePatchHistories
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 getBdsInstancePatchHistories(args: GetBdsInstancePatchHistoriesArgs, opts?: InvokeOptions): Promise<GetBdsInstancePatchHistoriesResult>
function getBdsInstancePatchHistoriesOutput(args: GetBdsInstancePatchHistoriesOutputArgs, opts?: InvokeOptions): Output<GetBdsInstancePatchHistoriesResult>
def get_bds_instance_patch_histories(bds_instance_id: Optional[str] = None,
filters: Optional[Sequence[_bigdataservice.GetBdsInstancePatchHistoriesFilter]] = None,
patch_type: Optional[str] = None,
patch_version: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBdsInstancePatchHistoriesResult
def get_bds_instance_patch_histories_output(bds_instance_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_bigdataservice.GetBdsInstancePatchHistoriesFilterArgs]]]] = None,
patch_type: Optional[pulumi.Input[str]] = None,
patch_version: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstancePatchHistoriesResult]
func GetBdsInstancePatchHistories(ctx *Context, args *GetBdsInstancePatchHistoriesArgs, opts ...InvokeOption) (*GetBdsInstancePatchHistoriesResult, error)
func GetBdsInstancePatchHistoriesOutput(ctx *Context, args *GetBdsInstancePatchHistoriesOutputArgs, opts ...InvokeOption) GetBdsInstancePatchHistoriesResultOutput
> Note: This function is named GetBdsInstancePatchHistories
in the Go SDK.
public static class GetBdsInstancePatchHistories
{
public static Task<GetBdsInstancePatchHistoriesResult> InvokeAsync(GetBdsInstancePatchHistoriesArgs args, InvokeOptions? opts = null)
public static Output<GetBdsInstancePatchHistoriesResult> Invoke(GetBdsInstancePatchHistoriesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBdsInstancePatchHistoriesResult> getBdsInstancePatchHistories(GetBdsInstancePatchHistoriesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:BigDataService/getBdsInstancePatchHistories:getBdsInstancePatchHistories
arguments:
# arguments dictionary
The following arguments are supported:
- Bds
Instance stringId - The OCID of the cluster.
- Filters
List<Get
Bds Instance Patch Histories Filter> - Patch
Type string - The type of a BDS patch history entity.
- Patch
Version string - The version of the patch
- State string
- The status of the patch.
- Bds
Instance stringId - The OCID of the cluster.
- Filters
[]Get
Bds Instance Patch Histories Filter - Patch
Type string - The type of a BDS patch history entity.
- Patch
Version string - The version of the patch
- State string
- The status of the patch.
- bds
Instance StringId - The OCID of the cluster.
- filters
List<Get
Bds Instance Patch Histories Filter> - patch
Type String - The type of a BDS patch history entity.
- patch
Version String - The version of the patch
- state String
- The status of the patch.
- bds
Instance stringId - The OCID of the cluster.
- filters
Get
Bds Instance Patch Histories Filter[] - patch
Type string - The type of a BDS patch history entity.
- patch
Version string - The version of the patch
- state string
- The status of the patch.
- bds_
instance_ strid - The OCID of the cluster.
- filters
Sequence[bigdataservice.
Get Bds Instance Patch Histories Filter] - patch_
type str - The type of a BDS patch history entity.
- patch_
version str - The version of the patch
- state str
- The status of the patch.
- bds
Instance StringId - The OCID of the cluster.
- filters List<Property Map>
- patch
Type String - The type of a BDS patch history entity.
- patch
Version String - The version of the patch
- state String
- The status of the patch.
getBdsInstancePatchHistories Result
The following output properties are available:
- Bds
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Patch
Histories List<GetBds Instance Patch Histories Patch History> - The list of patch_histories.
- Filters
List<Get
Bds Instance Patch Histories Filter> - Patch
Type string - The type of current patch history. DP - Data Plane patch(This history type is internal available only) ODH - Oracle Distribution of Hadoop patch OS - Operating System patch
- Patch
Version string - State string
- The status of this patch.
- Bds
Instance stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Patch
Histories []GetBds Instance Patch Histories Patch History - The list of patch_histories.
- Filters
[]Get
Bds Instance Patch Histories Filter - Patch
Type string - The type of current patch history. DP - Data Plane patch(This history type is internal available only) ODH - Oracle Distribution of Hadoop patch OS - Operating System patch
- Patch
Version string - State string
- The status of this patch.
- bds
Instance StringId - id String
- The provider-assigned unique ID for this managed resource.
- patch
Histories List<GetBds Instance Patch Histories Patch History> - The list of patch_histories.
- filters
List<Get
Bds Instance Patch Histories Filter> - patch
Type String - The type of current patch history. DP - Data Plane patch(This history type is internal available only) ODH - Oracle Distribution of Hadoop patch OS - Operating System patch
- patch
Version String - state String
- The status of this patch.
- bds
Instance stringId - id string
- The provider-assigned unique ID for this managed resource.
- patch
Histories GetBds Instance Patch Histories Patch History[] - The list of patch_histories.
- filters
Get
Bds Instance Patch Histories Filter[] - patch
Type string - The type of current patch history. DP - Data Plane patch(This history type is internal available only) ODH - Oracle Distribution of Hadoop patch OS - Operating System patch
- patch
Version string - state string
- The status of this patch.
- bds_
instance_ strid - id str
- The provider-assigned unique ID for this managed resource.
- patch_
histories Sequence[bigdataservice.Get Bds Instance Patch Histories Patch History] - The list of patch_histories.
- filters
Sequence[bigdataservice.
Get Bds Instance Patch Histories Filter] - patch_
type str - The type of current patch history. DP - Data Plane patch(This history type is internal available only) ODH - Oracle Distribution of Hadoop patch OS - Operating System patch
- patch_
version str - state str
- The status of this patch.
- bds
Instance StringId - id String
- The provider-assigned unique ID for this managed resource.
- patch
Histories List<Property Map> - The list of patch_histories.
- filters List<Property Map>
- patch
Type String - The type of current patch history. DP - Data Plane patch(This history type is internal available only) ODH - Oracle Distribution of Hadoop patch OS - Operating System patch
- patch
Version String - state String
- The status of this patch.
Supporting Types
GetBdsInstancePatchHistoriesFilter
GetBdsInstancePatchHistoriesPatchHistory
- Patch
Type string - The type of a BDS patch history entity.
- State string
- The status of the patch.
- Time
Updated string - The time when the patch history was last updated.
- Version string
- The version of the patch.
- Patch
Type string - The type of a BDS patch history entity.
- State string
- The status of the patch.
- Time
Updated string - The time when the patch history was last updated.
- Version string
- The version of the patch.
- patch
Type String - The type of a BDS patch history entity.
- state String
- The status of the patch.
- time
Updated String - The time when the patch history was last updated.
- version String
- The version of the patch.
- patch
Type string - The type of a BDS patch history entity.
- state string
- The status of the patch.
- time
Updated string - The time when the patch history was last updated.
- version string
- The version of the patch.
- patch_
type str - The type of a BDS patch history entity.
- state str
- The status of the patch.
- time_
updated str - The time when the patch history was last updated.
- version str
- The version of the patch.
- patch
Type String - The type of a BDS patch history entity.
- state String
- The status of the patch.
- time
Updated String - The time when the patch history was last updated.
- version String
- The version of the patch.
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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi