published on Thursday, Jun 11, 2026 by Pulumi
published on Thursday, Jun 11, 2026 by Pulumi
This resource provides the Database Software Schedule Management resource in Oracle Cloud Infrastructure Database service.
Reschedule the Managed Database Software Update
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseSoftwareScheduleManagement = new oci.database.DatabaseSoftwareScheduleManagement("test_database_software_schedule_management", {databaseId: testDatabase.id});
import pulumi
import pulumi_oci as oci
test_database_software_schedule_management = oci.database.DatabaseSoftwareScheduleManagement("test_database_software_schedule_management", database_id=test_database["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.NewDatabaseSoftwareScheduleManagement(ctx, "test_database_software_schedule_management", &database.DatabaseSoftwareScheduleManagementArgs{
DatabaseId: pulumi.Any(testDatabase.Id),
})
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 testDatabaseSoftwareScheduleManagement = new Oci.Database.DatabaseSoftwareScheduleManagement("test_database_software_schedule_management", new()
{
DatabaseId = testDatabase.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseSoftwareScheduleManagement;
import com.pulumi.oci.Database.DatabaseSoftwareScheduleManagementArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testDatabaseSoftwareScheduleManagement = new DatabaseSoftwareScheduleManagement("testDatabaseSoftwareScheduleManagement", DatabaseSoftwareScheduleManagementArgs.builder()
.databaseId(testDatabase.id())
.build());
}
}
resources:
testDatabaseSoftwareScheduleManagement:
type: oci:Database:DatabaseSoftwareScheduleManagement
name: test_database_software_schedule_management
properties:
databaseId: ${testDatabase.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_database_databasesoftwareschedulemanagement" "test_database_software_schedule_management" {
database_id = testDatabase.id
}
Create DatabaseSoftwareScheduleManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatabaseSoftwareScheduleManagement(name: string, args: DatabaseSoftwareScheduleManagementArgs, opts?: CustomResourceOptions);@overload
def DatabaseSoftwareScheduleManagement(resource_name: str,
args: DatabaseSoftwareScheduleManagementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DatabaseSoftwareScheduleManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
database_id: Optional[str] = None)func NewDatabaseSoftwareScheduleManagement(ctx *Context, name string, args DatabaseSoftwareScheduleManagementArgs, opts ...ResourceOption) (*DatabaseSoftwareScheduleManagement, error)public DatabaseSoftwareScheduleManagement(string name, DatabaseSoftwareScheduleManagementArgs args, CustomResourceOptions? opts = null)
public DatabaseSoftwareScheduleManagement(String name, DatabaseSoftwareScheduleManagementArgs args)
public DatabaseSoftwareScheduleManagement(String name, DatabaseSoftwareScheduleManagementArgs args, CustomResourceOptions options)
type: oci:Database:DatabaseSoftwareScheduleManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_database_databasesoftwareschedulemanagement" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DatabaseSoftwareScheduleManagementArgs
- 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 DatabaseSoftwareScheduleManagementArgs
- 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 DatabaseSoftwareScheduleManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseSoftwareScheduleManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseSoftwareScheduleManagementArgs
- 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 databaseSoftwareScheduleManagementResource = new Oci.Database.DatabaseSoftwareScheduleManagement("databaseSoftwareScheduleManagementResource", new()
{
DatabaseId = "string",
});
example, err := database.NewDatabaseSoftwareScheduleManagement(ctx, "databaseSoftwareScheduleManagementResource", &database.DatabaseSoftwareScheduleManagementArgs{
DatabaseId: pulumi.String("string"),
})
resource "oci_database_databasesoftwareschedulemanagement" "databaseSoftwareScheduleManagementResource" {
database_id = "string"
}
var databaseSoftwareScheduleManagementResource = new DatabaseSoftwareScheduleManagement("databaseSoftwareScheduleManagementResource", DatabaseSoftwareScheduleManagementArgs.builder()
.databaseId("string")
.build());
database_software_schedule_management_resource = oci.database.DatabaseSoftwareScheduleManagement("databaseSoftwareScheduleManagementResource", database_id="string")
const databaseSoftwareScheduleManagementResource = new oci.database.DatabaseSoftwareScheduleManagement("databaseSoftwareScheduleManagementResource", {databaseId: "string"});
type: oci:Database:DatabaseSoftwareScheduleManagement
properties:
databaseId: string
DatabaseSoftwareScheduleManagement 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 DatabaseSoftwareScheduleManagement resource accepts the following input properties:
- Database
Id string The database OCID.
** 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
- Database
Id string The database OCID.
** 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
- database_
id string The database OCID.
** 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
- database
Id String The database OCID.
** 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
- database
Id string The database OCID.
** 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
- database_
id str The database OCID.
** 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
- database
Id String The database OCID.
** 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
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabaseSoftwareScheduleManagement resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DatabaseSoftwareScheduleManagement Resource
Get an existing DatabaseSoftwareScheduleManagement 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?: DatabaseSoftwareScheduleManagementState, opts?: CustomResourceOptions): DatabaseSoftwareScheduleManagement@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
database_id: Optional[str] = None) -> DatabaseSoftwareScheduleManagementfunc GetDatabaseSoftwareScheduleManagement(ctx *Context, name string, id IDInput, state *DatabaseSoftwareScheduleManagementState, opts ...ResourceOption) (*DatabaseSoftwareScheduleManagement, error)public static DatabaseSoftwareScheduleManagement Get(string name, Input<string> id, DatabaseSoftwareScheduleManagementState? state, CustomResourceOptions? opts = null)public static DatabaseSoftwareScheduleManagement get(String name, Output<String> id, DatabaseSoftwareScheduleManagementState state, CustomResourceOptions options)resources: _: type: oci:Database:DatabaseSoftwareScheduleManagement get: id: ${id}import {
to = oci_database_databasesoftwareschedulemanagement.example
id = "${id}"
}
- 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.
- Database
Id string The database OCID.
** 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
- Database
Id string The database OCID.
** 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
- database_
id string The database OCID.
** 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
- database
Id String The database OCID.
** 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
- database
Id string The database OCID.
** 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
- database_
id str The database OCID.
** 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
- database
Id String The database OCID.
** 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
Import
DatabaseSoftwareScheduleManagement can be imported using the id, e.g.
$ pulumi import oci:Database/databaseSoftwareScheduleManagement:DatabaseSoftwareScheduleManagement test_database_software_schedule_management "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
ociTerraform Provider.
published on Thursday, Jun 11, 2026 by Pulumi