oci.Database.DbNodeSnapshot
This resource provides the Db Node Snapshot resource in Oracle Cloud Infrastructure Database service.
Manage the specified Db Node Snapshot in the Exadb VM cluster.
Example Usage
Unmount the specified Db Node Snapshot
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbNodeSnapshot = new oci.database.DbNodeSnapshot("test_db_node_snapshot", {
dbnodeSnapshotId: testDbNodeSnapshotManagement.snapshots[0].id,
mountDbnodeId: "null",
});
import pulumi
import pulumi_oci as oci
test_db_node_snapshot = oci.database.DbNodeSnapshot("test_db_node_snapshot",
dbnode_snapshot_id=test_db_node_snapshot_management["snapshots"][0]["id"],
mount_dbnode_id="null")
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.NewDbNodeSnapshot(ctx, "test_db_node_snapshot", &database.DbNodeSnapshotArgs{
DbnodeSnapshotId: pulumi.Any(testDbNodeSnapshotManagement.Snapshots[0].Id),
MountDbnodeId: pulumi.String("null"),
})
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 testDbNodeSnapshot = new Oci.Database.DbNodeSnapshot("test_db_node_snapshot", new()
{
DbnodeSnapshotId = testDbNodeSnapshotManagement.Snapshots[0].Id,
MountDbnodeId = "null",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DbNodeSnapshot;
import com.pulumi.oci.Database.DbNodeSnapshotArgs;
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 testDbNodeSnapshot = new DbNodeSnapshot("testDbNodeSnapshot", DbNodeSnapshotArgs.builder()
.dbnodeSnapshotId(testDbNodeSnapshotManagement.snapshots()[0].id())
.mountDbnodeId("null")
.build());
}
}
resources:
testDbNodeSnapshot:
type: oci:Database:DbNodeSnapshot
name: test_db_node_snapshot
properties:
dbnodeSnapshotId: ${testDbNodeSnapshotManagement.snapshots[0].id}
mountDbnodeId: null
Mount the specified Db Node Snapshot to the specified Db Node
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbNodeSnapshot = new oci.database.DbNodeSnapshot("test_db_node_snapshot", {
dbnodeSnapshotId: testDbNodeSnapshotManagement.snapshots[0].id,
mountDbnodeId: testDbNodeSnapshotManagement.snapshots[0].sourceDbnodeId,
});
import pulumi
import pulumi_oci as oci
test_db_node_snapshot = oci.database.DbNodeSnapshot("test_db_node_snapshot",
dbnode_snapshot_id=test_db_node_snapshot_management["snapshots"][0]["id"],
mount_dbnode_id=test_db_node_snapshot_management["snapshots"][0]["sourceDbnodeId"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.NewDbNodeSnapshot(ctx, "test_db_node_snapshot", &database.DbNodeSnapshotArgs{
DbnodeSnapshotId: pulumi.Any(testDbNodeSnapshotManagement.Snapshots[0].Id),
MountDbnodeId: pulumi.Any(testDbNodeSnapshotManagement.Snapshots[0].SourceDbnodeId),
})
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 testDbNodeSnapshot = new Oci.Database.DbNodeSnapshot("test_db_node_snapshot", new()
{
DbnodeSnapshotId = testDbNodeSnapshotManagement.Snapshots[0].Id,
MountDbnodeId = testDbNodeSnapshotManagement.Snapshots[0].SourceDbnodeId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DbNodeSnapshot;
import com.pulumi.oci.Database.DbNodeSnapshotArgs;
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 testDbNodeSnapshot = new DbNodeSnapshot("testDbNodeSnapshot", DbNodeSnapshotArgs.builder()
.dbnodeSnapshotId(testDbNodeSnapshotManagement.snapshots()[0].id())
.mountDbnodeId(testDbNodeSnapshotManagement.snapshots()[0].sourceDbnodeId())
.build());
}
}
resources:
testDbNodeSnapshot:
type: oci:Database:DbNodeSnapshot
name: test_db_node_snapshot
properties:
dbnodeSnapshotId: ${testDbNodeSnapshotManagement.snapshots[0].id}
mountDbnodeId: ${testDbNodeSnapshotManagement.snapshots[0].sourceDbnodeId}
Create DbNodeSnapshot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbNodeSnapshot(name: string, args: DbNodeSnapshotArgs, opts?: CustomResourceOptions);@overload
def DbNodeSnapshot(resource_name: str,
args: DbNodeSnapshotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbNodeSnapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
dbnode_snapshot_id: Optional[str] = None,
mount_dbnode_id: Optional[str] = None)func NewDbNodeSnapshot(ctx *Context, name string, args DbNodeSnapshotArgs, opts ...ResourceOption) (*DbNodeSnapshot, error)public DbNodeSnapshot(string name, DbNodeSnapshotArgs args, CustomResourceOptions? opts = null)
public DbNodeSnapshot(String name, DbNodeSnapshotArgs args)
public DbNodeSnapshot(String name, DbNodeSnapshotArgs args, CustomResourceOptions options)
type: oci:Database:DbNodeSnapshot
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 DbNodeSnapshotArgs
- 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 DbNodeSnapshotArgs
- 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 DbNodeSnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbNodeSnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbNodeSnapshotArgs
- 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 dbNodeSnapshotResource = new Oci.Database.DbNodeSnapshot("dbNodeSnapshotResource", new()
{
DbnodeSnapshotId = "string",
MountDbnodeId = "string",
});
example, err := database.NewDbNodeSnapshot(ctx, "dbNodeSnapshotResource", &database.DbNodeSnapshotArgs{
DbnodeSnapshotId: pulumi.String("string"),
MountDbnodeId: pulumi.String("string"),
})
var dbNodeSnapshotResource = new DbNodeSnapshot("dbNodeSnapshotResource", DbNodeSnapshotArgs.builder()
.dbnodeSnapshotId("string")
.mountDbnodeId("string")
.build());
db_node_snapshot_resource = oci.database.DbNodeSnapshot("dbNodeSnapshotResource",
dbnode_snapshot_id="string",
mount_dbnode_id="string")
const dbNodeSnapshotResource = new oci.database.DbNodeSnapshot("dbNodeSnapshotResource", {
dbnodeSnapshotId: "string",
mountDbnodeId: "string",
});
type: oci:Database:DbNodeSnapshot
properties:
dbnodeSnapshotId: string
mountDbnodeId: string
DbNodeSnapshot 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 DbNodeSnapshot resource accepts the following input properties:
- Dbnode
Snapshot stringId - The Exadata Database Node Snapshot OCID.
- Mount
Dbnode stringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- Dbnode
Snapshot stringId - The Exadata Database Node Snapshot OCID.
- Mount
Dbnode stringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- dbnode
Snapshot StringId - The Exadata Database Node Snapshot OCID.
- mount
Dbnode StringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- dbnode
Snapshot stringId - The Exadata Database Node Snapshot OCID.
- mount
Dbnode stringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- dbnode_
snapshot_ strid - The Exadata Database Node Snapshot OCID.
- mount_
dbnode_ strid (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- dbnode
Snapshot StringId - The Exadata Database Node Snapshot OCID.
- mount
Dbnode StringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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 DbNodeSnapshot resource produces the following output properties:
- Cluster
Id string - The OCID of the VM cluster.
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- 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"} - Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- Mount
Points List<DbNode Snapshot Mount Point> - Details of the mount points
- Name string
- Volume Name
- Source
Dbnode stringId - The OCID of the Exadata Database Node.
- State string
- The current state of the Exadata Database Node Snapshot.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Time
Created string - The date and time that the Exadata Database Node Snapshot was created.
- Volumes
List<Db
Node Snapshot Volume> - Details of the volumes
- Cluster
Id string - The OCID of the VM cluster.
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- 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"} - Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- Mount
Points []DbNode Snapshot Mount Point - Details of the mount points
- Name string
- Volume Name
- Source
Dbnode stringId - The OCID of the Exadata Database Node.
- State string
- The current state of the Exadata Database Node Snapshot.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Time
Created string - The date and time that the Exadata Database Node Snapshot was created.
- Volumes
[]Db
Node Snapshot Volume - Details of the volumes
- cluster
Id String - The OCID of the VM cluster.
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- 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"} - id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- mount
Points List<DbNode Snapshot Mount Point> - Details of the mount points
- name String
- Volume Name
- source
Dbnode StringId - The OCID of the Exadata Database Node.
- state String
- The current state of the Exadata Database Node Snapshot.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time
Created String - The date and time that the Exadata Database Node Snapshot was created.
- volumes
List<Db
Node Snapshot Volume> - Details of the volumes
- cluster
Id string - The OCID of the VM cluster.
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- 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"} - id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- mount
Points DbNode Snapshot Mount Point[] - Details of the mount points
- name string
- Volume Name
- source
Dbnode stringId - The OCID of the Exadata Database Node.
- state string
- The current state of the Exadata Database Node Snapshot.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time
Created string - The date and time that the Exadata Database Node Snapshot was created.
- volumes
Db
Node Snapshot Volume[] - Details of the volumes
- cluster_
id str - The OCID of the VM cluster.
- compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- 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"} - id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- mount_
points Sequence[DbNode Snapshot Mount Point] - Details of the mount points
- name str
- Volume Name
- source_
dbnode_ strid - The OCID of the Exadata Database Node.
- state str
- The current state of the Exadata Database Node Snapshot.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time_
created str - The date and time that the Exadata Database Node Snapshot was created.
- volumes
Sequence[Db
Node Snapshot Volume] - Details of the volumes
- cluster
Id String - The OCID of the VM cluster.
- compartment
Id String - The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- 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"} - id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- mount
Points List<Property Map> - Details of the mount points
- name String
- Volume Name
- source
Dbnode StringId - The OCID of the Exadata Database Node.
- state String
- The current state of the Exadata Database Node Snapshot.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time
Created String - The date and time that the Exadata Database Node Snapshot was created.
- volumes List<Property Map>
- Details of the volumes
Look up Existing DbNodeSnapshot Resource
Get an existing DbNodeSnapshot 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?: DbNodeSnapshotState, opts?: CustomResourceOptions): DbNodeSnapshot@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
compartment_id: Optional[str] = None,
dbnode_snapshot_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
mount_dbnode_id: Optional[str] = None,
mount_points: Optional[Sequence[DbNodeSnapshotMountPointArgs]] = None,
name: Optional[str] = None,
source_dbnode_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
volumes: Optional[Sequence[DbNodeSnapshotVolumeArgs]] = None) -> DbNodeSnapshotfunc GetDbNodeSnapshot(ctx *Context, name string, id IDInput, state *DbNodeSnapshotState, opts ...ResourceOption) (*DbNodeSnapshot, error)public static DbNodeSnapshot Get(string name, Input<string> id, DbNodeSnapshotState? state, CustomResourceOptions? opts = null)public static DbNodeSnapshot get(String name, Output<String> id, DbNodeSnapshotState state, CustomResourceOptions options)resources: _: type: oci:Database:DbNodeSnapshot get: 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.
- Cluster
Id string - The OCID of the VM cluster.
- Compartment
Id string - The OCID of the compartment.
- Dbnode
Snapshot stringId - The Exadata Database Node Snapshot OCID.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- 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 - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- Mount
Dbnode stringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- Mount
Points List<DbNode Snapshot Mount Point> - Details of the mount points
- Name string
- Volume Name
- Source
Dbnode stringId - The OCID of the Exadata Database Node.
- State string
- The current state of the Exadata Database Node Snapshot.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Time
Created string - The date and time that the Exadata Database Node Snapshot was created.
- Volumes
List<Db
Node Snapshot Volume> - Details of the volumes
- Cluster
Id string - The OCID of the VM cluster.
- Compartment
Id string - The OCID of the compartment.
- Dbnode
Snapshot stringId - The Exadata Database Node Snapshot OCID.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- 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 - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- Mount
Dbnode stringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- Mount
Points []DbNode Snapshot Mount Point Args - Details of the mount points
- Name string
- Volume Name
- Source
Dbnode stringId - The OCID of the Exadata Database Node.
- State string
- The current state of the Exadata Database Node Snapshot.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Time
Created string - The date and time that the Exadata Database Node Snapshot was created.
- Volumes
[]Db
Node Snapshot Volume Args - Details of the volumes
- cluster
Id String - The OCID of the VM cluster.
- compartment
Id String - The OCID of the compartment.
- dbnode
Snapshot StringId - The Exadata Database Node Snapshot OCID.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- 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 - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- mount
Dbnode StringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- mount
Points List<DbNode Snapshot Mount Point> - Details of the mount points
- name String
- Volume Name
- source
Dbnode StringId - The OCID of the Exadata Database Node.
- state String
- The current state of the Exadata Database Node Snapshot.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time
Created String - The date and time that the Exadata Database Node Snapshot was created.
- volumes
List<Db
Node Snapshot Volume> - Details of the volumes
- cluster
Id string - The OCID of the VM cluster.
- compartment
Id string - The OCID of the compartment.
- dbnode
Snapshot stringId - The Exadata Database Node Snapshot OCID.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- 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 - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- mount
Dbnode stringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- mount
Points DbNode Snapshot Mount Point[] - Details of the mount points
- name string
- Volume Name
- source
Dbnode stringId - The OCID of the Exadata Database Node.
- state string
- The current state of the Exadata Database Node Snapshot.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time
Created string - The date and time that the Exadata Database Node Snapshot was created.
- volumes
Db
Node Snapshot Volume[] - Details of the volumes
- cluster_
id str - The OCID of the VM cluster.
- compartment_
id str - The OCID of the compartment.
- dbnode_
snapshot_ strid - The Exadata Database Node Snapshot OCID.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- 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 - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- mount_
dbnode_ strid (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- mount_
points Sequence[DbNode Snapshot Mount Point Args] - Details of the mount points
- name str
- Volume Name
- source_
dbnode_ strid - The OCID of the Exadata Database Node.
- state str
- The current state of the Exadata Database Node Snapshot.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time_
created str - The date and time that the Exadata Database Node Snapshot was created.
- volumes
Sequence[Db
Node Snapshot Volume Args] - Details of the volumes
- cluster
Id String - The OCID of the VM cluster.
- compartment
Id String - The OCID of the compartment.
- dbnode
Snapshot StringId - The Exadata Database Node Snapshot OCID.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- 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 - Additional information about the current lifecycle state of the Exadata Database Node Snapshot.
- mount
Dbnode StringId (Updatable) The OCID of the Exadata Database Node to which the snapshot will be mounted. Set
mount_dbnode_idto"null"(string, notnull) to unmount the Db Node Snapshot.** 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
- mount
Points List<Property Map> - Details of the mount points
- name String
- Volume Name
- source
Dbnode StringId - The OCID of the Exadata Database Node.
- state String
- The current state of the Exadata Database Node Snapshot.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time
Created String - The date and time that the Exadata Database Node Snapshot was created.
- volumes List<Property Map>
- Details of the volumes
Supporting Types
DbNodeSnapshotMountPoint, DbNodeSnapshotMountPointArgs
- db_
node_ strid - The OCID of the Exadata Database Node where snapshot was mounted.
- name str
- Volume Name
DbNodeSnapshotVolume, DbNodeSnapshotVolumeArgs
Import
DbNodeSnapshots can be imported using the id, e.g.
$ pulumi import oci:Database/dbNodeSnapshot:DbNodeSnapshot test_db_node_snapshot "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.
