1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. OneoffPatch
Oracle Cloud Infrastructure v1.16.1 published on Wednesday, Nov 22, 2023 by Pulumi

oci.Database.OneoffPatch

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.16.1 published on Wednesday, Nov 22, 2023 by Pulumi

    This resource provides the Oneoff Patch resource in Oracle Cloud Infrastructure Database service.

    Creates one-off patch for specified database version to download.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testOneoffPatch = new Oci.Database.OneoffPatch("testOneoffPatch", new()
        {
            CompartmentId = @var.Compartment_id,
            DbVersion = @var.Oneoff_patch_db_version,
            DisplayName = @var.Oneoff_patch_display_name,
            ReleaseUpdate = @var.Oneoff_patch_release_update,
            DefinedTags = @var.Oneoff_patch_defined_tags,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            OneOffPatches = @var.Oneoff_patch_one_off_patches,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Database.NewOneoffPatch(ctx, "testOneoffPatch", &Database.OneoffPatchArgs{
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			DbVersion:     pulumi.Any(_var.Oneoff_patch_db_version),
    			DisplayName:   pulumi.Any(_var.Oneoff_patch_display_name),
    			ReleaseUpdate: pulumi.Any(_var.Oneoff_patch_release_update),
    			DefinedTags:   pulumi.Any(_var.Oneoff_patch_defined_tags),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			OneOffPatches: pulumi.Any(_var.Oneoff_patch_one_off_patches),
    		})
    		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.Database.OneoffPatch;
    import com.pulumi.oci.Database.OneoffPatchArgs;
    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) {
            var testOneoffPatch = new OneoffPatch("testOneoffPatch", OneoffPatchArgs.builder()        
                .compartmentId(var_.compartment_id())
                .dbVersion(var_.oneoff_patch_db_version())
                .displayName(var_.oneoff_patch_display_name())
                .releaseUpdate(var_.oneoff_patch_release_update())
                .definedTags(var_.oneoff_patch_defined_tags())
                .freeformTags(Map.of("Department", "Finance"))
                .oneOffPatches(var_.oneoff_patch_one_off_patches())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_oneoff_patch = oci.database.OneoffPatch("testOneoffPatch",
        compartment_id=var["compartment_id"],
        db_version=var["oneoff_patch_db_version"],
        display_name=var["oneoff_patch_display_name"],
        release_update=var["oneoff_patch_release_update"],
        defined_tags=var["oneoff_patch_defined_tags"],
        freeform_tags={
            "Department": "Finance",
        },
        one_off_patches=var["oneoff_patch_one_off_patches"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOneoffPatch = new oci.database.OneoffPatch("testOneoffPatch", {
        compartmentId: _var.compartment_id,
        dbVersion: _var.oneoff_patch_db_version,
        displayName: _var.oneoff_patch_display_name,
        releaseUpdate: _var.oneoff_patch_release_update,
        definedTags: _var.oneoff_patch_defined_tags,
        freeformTags: {
            Department: "Finance",
        },
        oneOffPatches: _var.oneoff_patch_one_off_patches,
    });
    
    resources:
      testOneoffPatch:
        type: oci:Database:OneoffPatch
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          dbVersion: ${var.oneoff_patch_db_version}
          displayName: ${var.oneoff_patch_display_name}
          releaseUpdate: ${var.oneoff_patch_release_update}
          #Optional
          definedTags: ${var.oneoff_patch_defined_tags}
          freeformTags:
            Department: Finance
          oneOffPatches: ${var.oneoff_patch_one_off_patches}
    

    Create OneoffPatch Resource

    new OneoffPatch(name: string, args: OneoffPatchArgs, opts?: CustomResourceOptions);
    @overload
    def OneoffPatch(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    db_version: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, Any]] = None,
                    display_name: Optional[str] = None,
                    download_oneoff_patch_trigger: Optional[int] = None,
                    freeform_tags: Optional[Mapping[str, Any]] = None,
                    one_off_patches: Optional[Sequence[str]] = None,
                    release_update: Optional[str] = None)
    @overload
    def OneoffPatch(resource_name: str,
                    args: OneoffPatchArgs,
                    opts: Optional[ResourceOptions] = None)
    func NewOneoffPatch(ctx *Context, name string, args OneoffPatchArgs, opts ...ResourceOption) (*OneoffPatch, error)
    public OneoffPatch(string name, OneoffPatchArgs args, CustomResourceOptions? opts = null)
    public OneoffPatch(String name, OneoffPatchArgs args)
    public OneoffPatch(String name, OneoffPatchArgs args, CustomResourceOptions options)
    
    type: oci:Database:OneoffPatch
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args OneoffPatchArgs
    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 OneoffPatchArgs
    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 OneoffPatchArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OneoffPatchArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OneoffPatchArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OneoffPatch 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 OneoffPatch resource accepts the following input properties:

    CompartmentId string

    (Updatable) The OCID of the compartment.

    DbVersion string

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    DisplayName string

    One-off patch name.

    ReleaseUpdate string

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    DefinedTags Dictionary<string, object>

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    DownloadOneoffPatchTrigger int

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    FreeformTags Dictionary<string, object>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    OneOffPatches List<string>

    List of one-off patches for Database Homes.

    CompartmentId string

    (Updatable) The OCID of the compartment.

    DbVersion string

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    DisplayName string

    One-off patch name.

    ReleaseUpdate string

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    DefinedTags map[string]interface{}

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    DownloadOneoffPatchTrigger int

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    FreeformTags map[string]interface{}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    OneOffPatches []string

    List of one-off patches for Database Homes.

    compartmentId String

    (Updatable) The OCID of the compartment.

    dbVersion String

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    displayName String

    One-off patch name.

    releaseUpdate String

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    definedTags Map<String,Object>

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    downloadOneoffPatchTrigger Integer

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    freeformTags Map<String,Object>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    oneOffPatches List<String>

    List of one-off patches for Database Homes.

    compartmentId string

    (Updatable) The OCID of the compartment.

    dbVersion string

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    displayName string

    One-off patch name.

    releaseUpdate string

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    definedTags {[key: string]: any}

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    downloadOneoffPatchTrigger number

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    freeformTags {[key: string]: any}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    oneOffPatches string[]

    List of one-off patches for Database Homes.

    compartment_id str

    (Updatable) The OCID of the compartment.

    db_version str

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    display_name str

    One-off patch name.

    release_update str

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    defined_tags Mapping[str, Any]

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    download_oneoff_patch_trigger int

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    freeform_tags Mapping[str, Any]

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    one_off_patches Sequence[str]

    List of one-off patches for Database Homes.

    compartmentId String

    (Updatable) The OCID of the compartment.

    dbVersion String

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    displayName String

    One-off patch name.

    releaseUpdate String

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    definedTags Map<Any>

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    downloadOneoffPatchTrigger Number

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    freeformTags Map<Any>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    oneOffPatches List<String>

    List of one-off patches for Database Homes.

    Outputs

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

    Id string

    The provider-assigned unique ID for this managed resource.

    LifecycleDetails string

    Detailed message for the lifecycle state.

    Sha256sum string

    SHA-256 checksum of the one-off patch.

    SizeInKbs double

    The size of one-off patch in kilobytes.

    State string

    The current state of the one-off patch.

    TimeCreated string

    The date and time one-off patch was created.

    TimeOfExpiration string

    The date and time until which the one-off patch will be available for download.

    TimeUpdated string

    The date and time one-off patch was updated.

    Id string

    The provider-assigned unique ID for this managed resource.

    LifecycleDetails string

    Detailed message for the lifecycle state.

    Sha256sum string

    SHA-256 checksum of the one-off patch.

    SizeInKbs float64

    The size of one-off patch in kilobytes.

    State string

    The current state of the one-off patch.

    TimeCreated string

    The date and time one-off patch was created.

    TimeOfExpiration string

    The date and time until which the one-off patch will be available for download.

    TimeUpdated string

    The date and time one-off patch was updated.

    id String

    The provider-assigned unique ID for this managed resource.

    lifecycleDetails String

    Detailed message for the lifecycle state.

    sha256sum String

    SHA-256 checksum of the one-off patch.

    sizeInKbs Double

    The size of one-off patch in kilobytes.

    state String

    The current state of the one-off patch.

    timeCreated String

    The date and time one-off patch was created.

    timeOfExpiration String

    The date and time until which the one-off patch will be available for download.

    timeUpdated String

    The date and time one-off patch was updated.

    id string

    The provider-assigned unique ID for this managed resource.

    lifecycleDetails string

    Detailed message for the lifecycle state.

    sha256sum string

    SHA-256 checksum of the one-off patch.

    sizeInKbs number

    The size of one-off patch in kilobytes.

    state string

    The current state of the one-off patch.

    timeCreated string

    The date and time one-off patch was created.

    timeOfExpiration string

    The date and time until which the one-off patch will be available for download.

    timeUpdated string

    The date and time one-off patch was updated.

    id str

    The provider-assigned unique ID for this managed resource.

    lifecycle_details str

    Detailed message for the lifecycle state.

    sha256sum str

    SHA-256 checksum of the one-off patch.

    size_in_kbs float

    The size of one-off patch in kilobytes.

    state str

    The current state of the one-off patch.

    time_created str

    The date and time one-off patch was created.

    time_of_expiration str

    The date and time until which the one-off patch will be available for download.

    time_updated str

    The date and time one-off patch was updated.

    id String

    The provider-assigned unique ID for this managed resource.

    lifecycleDetails String

    Detailed message for the lifecycle state.

    sha256sum String

    SHA-256 checksum of the one-off patch.

    sizeInKbs Number

    The size of one-off patch in kilobytes.

    state String

    The current state of the one-off patch.

    timeCreated String

    The date and time one-off patch was created.

    timeOfExpiration String

    The date and time until which the one-off patch will be available for download.

    timeUpdated String

    The date and time one-off patch was updated.

    Look up Existing OneoffPatch Resource

    Get an existing OneoffPatch 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?: OneoffPatchState, opts?: CustomResourceOptions): OneoffPatch
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            db_version: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            download_oneoff_patch_trigger: Optional[int] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            lifecycle_details: Optional[str] = None,
            one_off_patches: Optional[Sequence[str]] = None,
            release_update: Optional[str] = None,
            sha256sum: Optional[str] = None,
            size_in_kbs: Optional[float] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None,
            time_of_expiration: Optional[str] = None,
            time_updated: Optional[str] = None) -> OneoffPatch
    func GetOneoffPatch(ctx *Context, name string, id IDInput, state *OneoffPatchState, opts ...ResourceOption) (*OneoffPatch, error)
    public static OneoffPatch Get(string name, Input<string> id, OneoffPatchState? state, CustomResourceOptions? opts = null)
    public static OneoffPatch get(String name, Output<String> id, OneoffPatchState 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:
    CompartmentId string

    (Updatable) The OCID of the compartment.

    DbVersion string

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    DefinedTags Dictionary<string, object>

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    DisplayName string

    One-off patch name.

    DownloadOneoffPatchTrigger int

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    FreeformTags Dictionary<string, object>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    LifecycleDetails string

    Detailed message for the lifecycle state.

    OneOffPatches List<string>

    List of one-off patches for Database Homes.

    ReleaseUpdate string

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    Sha256sum string

    SHA-256 checksum of the one-off patch.

    SizeInKbs double

    The size of one-off patch in kilobytes.

    State string

    The current state of the one-off patch.

    TimeCreated string

    The date and time one-off patch was created.

    TimeOfExpiration string

    The date and time until which the one-off patch will be available for download.

    TimeUpdated string

    The date and time one-off patch was updated.

    CompartmentId string

    (Updatable) The OCID of the compartment.

    DbVersion string

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    DefinedTags map[string]interface{}

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    DisplayName string

    One-off patch name.

    DownloadOneoffPatchTrigger int

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    FreeformTags map[string]interface{}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    LifecycleDetails string

    Detailed message for the lifecycle state.

    OneOffPatches []string

    List of one-off patches for Database Homes.

    ReleaseUpdate string

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    Sha256sum string

    SHA-256 checksum of the one-off patch.

    SizeInKbs float64

    The size of one-off patch in kilobytes.

    State string

    The current state of the one-off patch.

    TimeCreated string

    The date and time one-off patch was created.

    TimeOfExpiration string

    The date and time until which the one-off patch will be available for download.

    TimeUpdated string

    The date and time one-off patch was updated.

    compartmentId String

    (Updatable) The OCID of the compartment.

    dbVersion String

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    definedTags Map<String,Object>

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    displayName String

    One-off patch name.

    downloadOneoffPatchTrigger Integer

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    freeformTags Map<String,Object>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    lifecycleDetails String

    Detailed message for the lifecycle state.

    oneOffPatches List<String>

    List of one-off patches for Database Homes.

    releaseUpdate String

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    sha256sum String

    SHA-256 checksum of the one-off patch.

    sizeInKbs Double

    The size of one-off patch in kilobytes.

    state String

    The current state of the one-off patch.

    timeCreated String

    The date and time one-off patch was created.

    timeOfExpiration String

    The date and time until which the one-off patch will be available for download.

    timeUpdated String

    The date and time one-off patch was updated.

    compartmentId string

    (Updatable) The OCID of the compartment.

    dbVersion string

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    definedTags {[key: string]: any}

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    displayName string

    One-off patch name.

    downloadOneoffPatchTrigger number

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    freeformTags {[key: string]: any}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    lifecycleDetails string

    Detailed message for the lifecycle state.

    oneOffPatches string[]

    List of one-off patches for Database Homes.

    releaseUpdate string

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    sha256sum string

    SHA-256 checksum of the one-off patch.

    sizeInKbs number

    The size of one-off patch in kilobytes.

    state string

    The current state of the one-off patch.

    timeCreated string

    The date and time one-off patch was created.

    timeOfExpiration string

    The date and time until which the one-off patch will be available for download.

    timeUpdated string

    The date and time one-off patch was updated.

    compartment_id str

    (Updatable) The OCID of the compartment.

    db_version str

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    defined_tags Mapping[str, Any]

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    display_name str

    One-off patch name.

    download_oneoff_patch_trigger int

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    freeform_tags Mapping[str, Any]

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    lifecycle_details str

    Detailed message for the lifecycle state.

    one_off_patches Sequence[str]

    List of one-off patches for Database Homes.

    release_update str

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    sha256sum str

    SHA-256 checksum of the one-off patch.

    size_in_kbs float

    The size of one-off patch in kilobytes.

    state str

    The current state of the one-off patch.

    time_created str

    The date and time one-off patch was created.

    time_of_expiration str

    The date and time until which the one-off patch will be available for download.

    time_updated str

    The date and time one-off patch was updated.

    compartmentId String

    (Updatable) The OCID of the compartment.

    dbVersion String

    A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.

    definedTags Map<Any>

    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    displayName String

    One-off patch name.

    downloadOneoffPatchTrigger Number

    (Updatable) An optional property when incremented triggers Download Oneoff Patch. Could be set to any integer value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    freeformTags Map<Any>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    lifecycleDetails String

    Detailed message for the lifecycle state.

    oneOffPatches List<String>

    List of one-off patches for Database Homes.

    releaseUpdate String

    The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.

    sha256sum String

    SHA-256 checksum of the one-off patch.

    sizeInKbs Number

    The size of one-off patch in kilobytes.

    state String

    The current state of the one-off patch.

    timeCreated String

    The date and time one-off patch was created.

    timeOfExpiration String

    The date and time until which the one-off patch will be available for download.

    timeUpdated String

    The date and time one-off patch was updated.

    Import

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

     $ pulumi import oci:Database/oneoffPatch:OneoffPatch test_oneoff_patch "id"
    

    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.16.1 published on Wednesday, Nov 22, 2023 by Pulumi