1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. OneoffPatch
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Database.OneoffPatch

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOneoffPatch = new oci.database.OneoffPatch("test_oneoff_patch", {
        compartmentId: compartmentId,
        dbVersion: oneoffPatchDbVersion,
        displayName: oneoffPatchDisplayName,
        releaseUpdate: oneoffPatchReleaseUpdate,
        definedTags: oneoffPatchDefinedTags,
        freeformTags: {
            Department: "Finance",
        },
        oneOffPatches: oneoffPatchOneOffPatches,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_oneoff_patch = oci.database.OneoffPatch("test_oneoff_patch",
        compartment_id=compartment_id,
        db_version=oneoff_patch_db_version,
        display_name=oneoff_patch_display_name,
        release_update=oneoff_patch_release_update,
        defined_tags=oneoff_patch_defined_tags,
        freeform_tags={
            "Department": "Finance",
        },
        one_off_patches=oneoff_patch_one_off_patches)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Database"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Database.NewOneoffPatch(ctx, "test_oneoff_patch", &Database.OneoffPatchArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DbVersion:     pulumi.Any(oneoffPatchDbVersion),
    			DisplayName:   pulumi.Any(oneoffPatchDisplayName),
    			ReleaseUpdate: pulumi.Any(oneoffPatchReleaseUpdate),
    			DefinedTags:   pulumi.Any(oneoffPatchDefinedTags),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			OneOffPatches: pulumi.Any(oneoffPatchOneOffPatches),
    		})
    		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 testOneoffPatch = new Oci.Database.OneoffPatch("test_oneoff_patch", new()
        {
            CompartmentId = compartmentId,
            DbVersion = oneoffPatchDbVersion,
            DisplayName = oneoffPatchDisplayName,
            ReleaseUpdate = oneoffPatchReleaseUpdate,
            DefinedTags = oneoffPatchDefinedTags,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            OneOffPatches = oneoffPatchOneOffPatches,
        });
    
    });
    
    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(compartmentId)
                .dbVersion(oneoffPatchDbVersion)
                .displayName(oneoffPatchDisplayName)
                .releaseUpdate(oneoffPatchReleaseUpdate)
                .definedTags(oneoffPatchDefinedTags)
                .freeformTags(Map.of("Department", "Finance"))
                .oneOffPatches(oneoffPatchOneOffPatches)
                .build());
    
        }
    }
    
    resources:
      testOneoffPatch:
        type: oci:Database:OneoffPatch
        name: test_oneoff_patch
        properties:
          compartmentId: ${compartmentId}
          dbVersion: ${oneoffPatchDbVersion}
          displayName: ${oneoffPatchDisplayName}
          releaseUpdate: ${oneoffPatchReleaseUpdate}
          definedTags: ${oneoffPatchDefinedTags}
          freeformTags:
            Department: Finance
          oneOffPatches: ${oneoffPatchOneOffPatches}
    

    Create OneoffPatch Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OneoffPatch(name: string, args: OneoffPatchArgs, opts?: CustomResourceOptions);
    @overload
    def OneoffPatch(resource_name: str,
                    args: OneoffPatchArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def OneoffPatch(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    db_version: Optional[str] = None,
                    display_name: Optional[str] = None,
                    release_update: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    download_oneoff_patch_trigger: Optional[int] = None,
                    freeform_tags: Optional[Mapping[str, str]] = None,
                    one_off_patches: Optional[Sequence[str]] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var oneoffPatchResource = new Oci.Database.OneoffPatch("oneoffPatchResource", new()
    {
        CompartmentId = "string",
        DbVersion = "string",
        DisplayName = "string",
        ReleaseUpdate = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DownloadOneoffPatchTrigger = 0,
        FreeformTags = 
        {
            { "string", "string" },
        },
        OneOffPatches = new[]
        {
            "string",
        },
    });
    
    example, err := Database.NewOneoffPatch(ctx, "oneoffPatchResource", &Database.OneoffPatchArgs{
    	CompartmentId: pulumi.String("string"),
    	DbVersion:     pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	ReleaseUpdate: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DownloadOneoffPatchTrigger: pulumi.Int(0),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	OneOffPatches: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var oneoffPatchResource = new OneoffPatch("oneoffPatchResource", OneoffPatchArgs.builder()
        .compartmentId("string")
        .dbVersion("string")
        .displayName("string")
        .releaseUpdate("string")
        .definedTags(Map.of("string", "string"))
        .downloadOneoffPatchTrigger(0)
        .freeformTags(Map.of("string", "string"))
        .oneOffPatches("string")
        .build());
    
    oneoff_patch_resource = oci.database.OneoffPatch("oneoffPatchResource",
        compartment_id="string",
        db_version="string",
        display_name="string",
        release_update="string",
        defined_tags={
            "string": "string",
        },
        download_oneoff_patch_trigger=0,
        freeform_tags={
            "string": "string",
        },
        one_off_patches=["string"])
    
    const oneoffPatchResource = new oci.database.OneoffPatch("oneoffPatchResource", {
        compartmentId: "string",
        dbVersion: "string",
        displayName: "string",
        releaseUpdate: "string",
        definedTags: {
            string: "string",
        },
        downloadOneoffPatchTrigger: 0,
        freeformTags: {
            string: "string",
        },
        oneOffPatches: ["string"],
    });
    
    type: oci:Database:OneoffPatch
    properties:
        compartmentId: string
        dbVersion: string
        definedTags:
            string: string
        displayName: string
        downloadOneoffPatchTrigger: 0
        freeformTags:
            string: string
        oneOffPatches:
            - string
        releaseUpdate: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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, string>
    (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, string>
    (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]string
    (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]string
    (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,String>
    (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,String>
    (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]: string}
    (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]: string}
    (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, str]
    (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, str]
    (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<String>
    (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<String>
    (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, str]] = None,
            display_name: Optional[str] = None,
            download_oneoff_patch_trigger: Optional[int] = None,
            freeform_tags: Optional[Mapping[str, str]] = 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, string>
    (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, string>
    (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]string
    (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]string
    (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,String>
    (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,String>
    (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]: string}
    (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]: string}
    (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, str]
    (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, str]
    (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<String>
    (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<String>
    (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"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi