oci.Database.OneoffPatch
Explore with Pulumi AI
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/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.Map{
"Department": pulumi.Any("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, Any]] = None,
download_oneoff_patch_trigger: Optional[int] = None,
freeform_tags: Optional[Mapping[str, Any]] = 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", "any" },
},
DownloadOneoffPatchTrigger = 0,
FreeformTags =
{
{ "string", "any" },
},
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.Map{
"string": pulumi.Any("any"),
},
DownloadOneoffPatchTrigger: pulumi.Int(0),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
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", "any"))
.downloadOneoffPatchTrigger(0)
.freeformTags(Map.of("string", "any"))
.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": "any",
},
download_oneoff_patch_trigger=0,
freeform_tags={
"string": "any",
},
one_off_patches=["string"])
const oneoffPatchResource = new oci.database.OneoffPatch("oneoffPatchResource", {
compartmentId: "string",
dbVersion: "string",
displayName: "string",
releaseUpdate: "string",
definedTags: {
string: "any",
},
downloadOneoffPatchTrigger: 0,
freeformTags: {
string: "any",
},
oneOffPatches: ["string"],
});
type: oci:Database:OneoffPatch
properties:
compartmentId: string
dbVersion: string
definedTags:
string: any
displayName: string
downloadOneoffPatchTrigger: 0
freeformTags:
string: any
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
The OneoffPatch resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Db
Version string - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- Display
Name string - One-off patch name.
- Release
Update string - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Download
Oneoff intPatch Trigger (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
- 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"}
- One
Off List<string>Patches - List of one-off patches for Database Homes.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Db
Version string - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- Display
Name string - One-off patch name.
- Release
Update string - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Download
Oneoff intPatch Trigger (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
- 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"}
- One
Off []stringPatches - List of one-off patches for Database Homes.
- compartment
Id String - (Updatable) The OCID of the compartment.
- db
Version String - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- display
Name String - One-off patch name.
- release
Update String - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- download
Oneoff IntegerPatch Trigger (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
- 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"}
- one
Off List<String>Patches - List of one-off patches for Database Homes.
- compartment
Id string - (Updatable) The OCID of the compartment.
- db
Version string - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- display
Name string - One-off patch name.
- release
Update string - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- download
Oneoff numberPatch Trigger (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
- {[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"}
- one
Off string[]Patches - 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.
- 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_ intpatch_ trigger (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
- 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_ Sequence[str]patches - List of one-off patches for Database Homes.
- compartment
Id String - (Updatable) The OCID of the compartment.
- db
Version String - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- display
Name String - One-off patch name.
- release
Update String - The PSU or PBP or Release Updates. To get a list of supported versions, use the ListDbVersions operation.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- download
Oneoff NumberPatch Trigger (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
- 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"}
- one
Off List<String>Patches - 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.
- Lifecycle
Details string - Detailed message for the lifecycle state.
- Sha256sum string
- SHA-256 checksum of the one-off patch.
- Size
In doubleKbs - The size of one-off patch in kilobytes.
- State string
- The current state of the one-off patch.
- Time
Created string - The date and time one-off patch was created.
- Time
Of stringExpiration - The date and time until which the one-off patch will be available for download.
- Time
Updated string - The date and time one-off patch was updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Detailed message for the lifecycle state.
- Sha256sum string
- SHA-256 checksum of the one-off patch.
- Size
In float64Kbs - The size of one-off patch in kilobytes.
- State string
- The current state of the one-off patch.
- Time
Created string - The date and time one-off patch was created.
- Time
Of stringExpiration - The date and time until which the one-off patch will be available for download.
- Time
Updated string - The date and time one-off patch was updated.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Detailed message for the lifecycle state.
- sha256sum String
- SHA-256 checksum of the one-off patch.
- size
In DoubleKbs - The size of one-off patch in kilobytes.
- state String
- The current state of the one-off patch.
- time
Created String - The date and time one-off patch was created.
- time
Of StringExpiration - The date and time until which the one-off patch will be available for download.
- time
Updated String - The date and time one-off patch was updated.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Detailed message for the lifecycle state.
- sha256sum string
- SHA-256 checksum of the one-off patch.
- size
In numberKbs - The size of one-off patch in kilobytes.
- state string
- The current state of the one-off patch.
- time
Created string - The date and time one-off patch was created.
- time
Of stringExpiration - The date and time until which the one-off patch will be available for download.
- time
Updated 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_ floatkbs - 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_ strexpiration - 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.
- lifecycle
Details String - Detailed message for the lifecycle state.
- sha256sum String
- SHA-256 checksum of the one-off patch.
- size
In NumberKbs - The size of one-off patch in kilobytes.
- state String
- The current state of the one-off patch.
- time
Created String - The date and time one-off patch was created.
- time
Of StringExpiration - The date and time until which the one-off patch will be available for download.
- time
Updated 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.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Db
Version string - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - One-off patch name.
- Download
Oneoff intPatch Trigger (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
- 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"}
- Lifecycle
Details string - Detailed message for the lifecycle state.
- One
Off List<string>Patches - List of one-off patches for Database Homes.
- Release
Update 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.
- Size
In doubleKbs - The size of one-off patch in kilobytes.
- State string
- The current state of the one-off patch.
- Time
Created string - The date and time one-off patch was created.
- Time
Of stringExpiration - The date and time until which the one-off patch will be available for download.
- Time
Updated string - The date and time one-off patch was updated.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Db
Version string - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - One-off patch name.
- Download
Oneoff intPatch Trigger (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
- 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"}
- Lifecycle
Details string - Detailed message for the lifecycle state.
- One
Off []stringPatches - List of one-off patches for Database Homes.
- Release
Update 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.
- Size
In float64Kbs - The size of one-off patch in kilobytes.
- State string
- The current state of the one-off patch.
- Time
Created string - The date and time one-off patch was created.
- Time
Of stringExpiration - The date and time until which the one-off patch will be available for download.
- Time
Updated string - The date and time one-off patch was updated.
- compartment
Id String - (Updatable) The OCID of the compartment.
- db
Version String - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - One-off patch name.
- download
Oneoff IntegerPatch Trigger (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
- 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"}
- lifecycle
Details String - Detailed message for the lifecycle state.
- one
Off List<String>Patches - List of one-off patches for Database Homes.
- release
Update 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.
- size
In DoubleKbs - The size of one-off patch in kilobytes.
- state String
- The current state of the one-off patch.
- time
Created String - The date and time one-off patch was created.
- time
Of StringExpiration - The date and time until which the one-off patch will be available for download.
- time
Updated String - The date and time one-off patch was updated.
- compartment
Id string - (Updatable) The OCID of the compartment.
- db
Version string - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name string - One-off patch name.
- download
Oneoff numberPatch Trigger (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
- {[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"}
- lifecycle
Details string - Detailed message for the lifecycle state.
- one
Off string[]Patches - List of one-off patches for Database Homes.
- release
Update 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.
- size
In numberKbs - The size of one-off patch in kilobytes.
- state string
- The current state of the one-off patch.
- time
Created string - The date and time one-off patch was created.
- time
Of stringExpiration - The date and time until which the one-off patch will be available for download.
- time
Updated 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.
- 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_ intpatch_ trigger (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
- 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_ Sequence[str]patches - 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_ floatkbs - 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_ strexpiration - 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.
- compartment
Id String - (Updatable) The OCID of the compartment.
- db
Version String - A valid Oracle Database version. To get a list of supported versions, use the ListDbVersions operation.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - One-off patch name.
- download
Oneoff NumberPatch Trigger (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
- 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"}
- lifecycle
Details String - Detailed message for the lifecycle state.
- one
Off List<String>Patches - List of one-off patches for Database Homes.
- release
Update 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.
- size
In NumberKbs - The size of one-off patch in kilobytes.
- state String
- The current state of the one-off patch.
- time
Created String - The date and time one-off patch was created.
- time
Of StringExpiration - The date and time until which the one-off patch will be available for download.
- time
Updated 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.