oci.FileStorage.getSnapshots
Explore with Pulumi AI
This data source provides the list of Snapshots in Oracle Cloud Infrastructure File Storage service.
Lists snapshots of the specified file system, or by file system snapshot policy and compartment, or by file system snapshot policy and file system.
If file system ID is not specified, a file system snapshot policy ID and compartment ID must be specified.
Users can only sort by time created when listing snapshots by file system snapshot policy ID and compartment ID (sort by name is NOT supported for listing snapshots by policy and compartment).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSnapshots = oci.FileStorage.getSnapshots({
compartmentId: compartmentId,
fileSystemId: testFileSystem.id,
filesystemSnapshotPolicyId: testFilesystemSnapshotPolicy.id,
id: snapshotId,
state: snapshotState,
});
import pulumi
import pulumi_oci as oci
test_snapshots = oci.FileStorage.get_snapshots(compartment_id=compartment_id,
file_system_id=test_file_system["id"],
filesystem_snapshot_policy_id=test_filesystem_snapshot_policy["id"],
id=snapshot_id,
state=snapshot_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/filestorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := filestorage.GetSnapshots(ctx, &filestorage.GetSnapshotsArgs{
CompartmentId: pulumi.StringRef(compartmentId),
FileSystemId: pulumi.StringRef(testFileSystem.Id),
FilesystemSnapshotPolicyId: pulumi.StringRef(testFilesystemSnapshotPolicy.Id),
Id: pulumi.StringRef(snapshotId),
State: pulumi.StringRef(snapshotState),
}, nil)
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 testSnapshots = Oci.FileStorage.GetSnapshots.Invoke(new()
{
CompartmentId = compartmentId,
FileSystemId = testFileSystem.Id,
FilesystemSnapshotPolicyId = testFilesystemSnapshotPolicy.Id,
Id = snapshotId,
State = snapshotState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.FileStorageFunctions;
import com.pulumi.oci.FileStorage.inputs.GetSnapshotsArgs;
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) {
final var testSnapshots = FileStorageFunctions.getSnapshots(GetSnapshotsArgs.builder()
.compartmentId(compartmentId)
.fileSystemId(testFileSystem.id())
.filesystemSnapshotPolicyId(testFilesystemSnapshotPolicy.id())
.id(snapshotId)
.state(snapshotState)
.build());
}
}
variables:
testSnapshots:
fn::invoke:
function: oci:FileStorage:getSnapshots
arguments:
compartmentId: ${compartmentId}
fileSystemId: ${testFileSystem.id}
filesystemSnapshotPolicyId: ${testFilesystemSnapshotPolicy.id}
id: ${snapshotId}
state: ${snapshotState}
Using getSnapshots
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSnapshots(args: GetSnapshotsArgs, opts?: InvokeOptions): Promise<GetSnapshotsResult>
function getSnapshotsOutput(args: GetSnapshotsOutputArgs, opts?: InvokeOptions): Output<GetSnapshotsResult>
def get_snapshots(compartment_id: Optional[str] = None,
file_system_id: Optional[str] = None,
filesystem_snapshot_policy_id: Optional[str] = None,
filters: Optional[Sequence[_filestorage.GetSnapshotsFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotsResult
def get_snapshots_output(compartment_id: Optional[pulumi.Input[str]] = None,
file_system_id: Optional[pulumi.Input[str]] = None,
filesystem_snapshot_policy_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_filestorage.GetSnapshotsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotsResult]
func GetSnapshots(ctx *Context, args *GetSnapshotsArgs, opts ...InvokeOption) (*GetSnapshotsResult, error)
func GetSnapshotsOutput(ctx *Context, args *GetSnapshotsOutputArgs, opts ...InvokeOption) GetSnapshotsResultOutput
> Note: This function is named GetSnapshots
in the Go SDK.
public static class GetSnapshots
{
public static Task<GetSnapshotsResult> InvokeAsync(GetSnapshotsArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotsResult> Invoke(GetSnapshotsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSnapshotsResult> getSnapshots(GetSnapshotsArgs args, InvokeOptions options)
public static Output<GetSnapshotsResult> getSnapshots(GetSnapshotsArgs args, InvokeOptions options)
fn::invoke:
function: oci:FileStorage/getSnapshots:getSnapshots
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- File
System stringId - The OCID of the file system.
- Filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that is used to create the snapshots.
- Filters
Changes to this property will trigger replacement.
Snapshots Filter> - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Compartment
Id string - The OCID of the compartment.
- File
System stringId - The OCID of the file system.
- Filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that is used to create the snapshots.
- Filters
Changes to this property will trigger replacement.
Snapshots Filter - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment
Id String - The OCID of the compartment.
- file
System StringId - The OCID of the file system.
- filesystem
Snapshot StringPolicy Id - The OCID of the file system snapshot policy that is used to create the snapshots.
- filters
Changes to this property will trigger replacement.
Snapshots Filter> - id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment
Id string - The OCID of the compartment.
- file
System stringId - The OCID of the file system.
- filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that is used to create the snapshots.
- filters
Changes to this property will trigger replacement.
Snapshots Filter[] - id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment_
id str - The OCID of the compartment.
- file_
system_ strid - The OCID of the file system.
- filesystem_
snapshot_ strpolicy_ id - The OCID of the file system snapshot policy that is used to create the snapshots.
- filters
Changes to this property will trigger replacement.
Get Snapshots Filter] - id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment
Id String - The OCID of the compartment.
- file
System StringId - The OCID of the file system.
- filesystem
Snapshot StringPolicy Id - The OCID of the file system snapshot policy that is used to create the snapshots.
- filters
Changes to this property will trigger replacement.
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
getSnapshots Result
The following output properties are available:
- Snapshots
List<Get
Snapshots Snapshot> - The list of snapshots.
- Compartment
Id string - File
System stringId - The OCID of the file system from which the snapshot was created.
- Filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that created this snapshot.
- Filters
List<Get
Snapshots Filter> - Id string
- The OCID of the snapshot.
- State string
- The current state of the snapshot.
- Snapshots
[]Get
Snapshots Snapshot - The list of snapshots.
- Compartment
Id string - File
System stringId - The OCID of the file system from which the snapshot was created.
- Filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that created this snapshot.
- Filters
[]Get
Snapshots Filter - Id string
- The OCID of the snapshot.
- State string
- The current state of the snapshot.
- snapshots
List<Get
Snapshots Snapshot> - The list of snapshots.
- compartment
Id String - file
System StringId - The OCID of the file system from which the snapshot was created.
- filesystem
Snapshot StringPolicy Id - The OCID of the file system snapshot policy that created this snapshot.
- filters
List<Get
Snapshots Filter> - id String
- The OCID of the snapshot.
- state String
- The current state of the snapshot.
- snapshots
Get
Snapshots Snapshot[] - The list of snapshots.
- compartment
Id string - file
System stringId - The OCID of the file system from which the snapshot was created.
- filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that created this snapshot.
- filters
Get
Snapshots Filter[] - id string
- The OCID of the snapshot.
- state string
- The current state of the snapshot.
- snapshots
Sequence[filestorage.
Get Snapshots Snapshot] - The list of snapshots.
- compartment_
id str - file_
system_ strid - The OCID of the file system from which the snapshot was created.
- filesystem_
snapshot_ strpolicy_ id - The OCID of the file system snapshot policy that created this snapshot.
- filters
Sequence[filestorage.
Get Snapshots Filter] - id str
- The OCID of the snapshot.
- state str
- The current state of the snapshot.
- snapshots List<Property Map>
- The list of snapshots.
- compartment
Id String - file
System StringId - The OCID of the file system from which the snapshot was created.
- filesystem
Snapshot StringPolicy Id - The OCID of the file system snapshot policy that created this snapshot.
- filters List<Property Map>
- id String
- The OCID of the snapshot.
- state String
- The current state of the snapshot.
Supporting Types
GetSnapshotsFilter
GetSnapshotsSnapshot
This property is required. Dictionary<string, string>- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Expiration
Time This property is required. string - The time when this snapshot will be deleted.
- File
System Id This property is required. string - The OCID of the file system.
- Filesystem
Snapshot Policy Id This property is required. string - The OCID of the file system snapshot policy that is used to create the snapshots.
This property is required. 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
This property is required. string - Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Is
Clone Source This property is required. bool - Specifies whether the snapshot has been cloned. See Cloning a File System.
- Is
Lock Override This property is required. bool - Lifecycle
Details This property is required. string - Additional information about the current
lifecycleState
. - Locks
This property is required. List<GetSnapshots Snapshot Lock> - Locks associated with this resource.
- Name
This property is required. string - Name of the snapshot. This value is immutable.
- Provenance
Id This property is required. string - An OCID identifying the parent from which this snapshot was cloned. If this snapshot was not cloned, then the
provenanceId
is the same as the snapshotid
value. If this snapshot was cloned, then theprovenanceId
value is the parent'sprovenanceId
. See Cloning a File System. - Snapshot
Time This property is required. string - The date and time the snapshot was taken, expressed in RFC 3339 timestamp format. This value might be the same or different from
timeCreated
depending on the following factors:- If the snapshot is created in the original file system directory.
- If the snapshot is cloned from a file system.
- If the snapshot is replicated from a file system.
- Snapshot
Type This property is required. string - Specifies the generation type of the snapshot.
- State
This property is required. string - Filter results by the specified lifecycle state. Must be a valid state for the resource type.
This property is required. Dictionary<string, string>- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- Time
Created This property is required. string - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
This property is required. map[string]string- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Expiration
Time This property is required. string - The time when this snapshot will be deleted.
- File
System Id This property is required. string - The OCID of the file system.
- Filesystem
Snapshot Policy Id This property is required. string - The OCID of the file system snapshot policy that is used to create the snapshots.
This property is required. 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
This property is required. string - Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Is
Clone Source This property is required. bool - Specifies whether the snapshot has been cloned. See Cloning a File System.
- Is
Lock Override This property is required. bool - Lifecycle
Details This property is required. string - Additional information about the current
lifecycleState
. - Locks
This property is required. []GetSnapshots Snapshot Lock - Locks associated with this resource.
- Name
This property is required. string - Name of the snapshot. This value is immutable.
- Provenance
Id This property is required. string - An OCID identifying the parent from which this snapshot was cloned. If this snapshot was not cloned, then the
provenanceId
is the same as the snapshotid
value. If this snapshot was cloned, then theprovenanceId
value is the parent'sprovenanceId
. See Cloning a File System. - Snapshot
Time This property is required. string - The date and time the snapshot was taken, expressed in RFC 3339 timestamp format. This value might be the same or different from
timeCreated
depending on the following factors:- If the snapshot is created in the original file system directory.
- If the snapshot is cloned from a file system.
- If the snapshot is replicated from a file system.
- Snapshot
Type This property is required. string - Specifies the generation type of the snapshot.
- State
This property is required. string - Filter results by the specified lifecycle state. Must be a valid state for the resource type.
This property is required. map[string]string- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- Time
Created This property is required. string - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
This property is required. Map<String,String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- expiration
Time This property is required. String - The time when this snapshot will be deleted.
- file
System Id This property is required. String - The OCID of the file system.
- filesystem
Snapshot Policy Id This property is required. String - The OCID of the file system snapshot policy that is used to create the snapshots.
This property is required. 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
This property is required. String - Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is
Clone Source This property is required. Boolean - Specifies whether the snapshot has been cloned. See Cloning a File System.
- is
Lock Override This property is required. Boolean - lifecycle
Details This property is required. String - Additional information about the current
lifecycleState
. - locks
This property is required. List<GetSnapshots Snapshot Lock> - Locks associated with this resource.
- name
This property is required. String - Name of the snapshot. This value is immutable.
- provenance
Id This property is required. String - An OCID identifying the parent from which this snapshot was cloned. If this snapshot was not cloned, then the
provenanceId
is the same as the snapshotid
value. If this snapshot was cloned, then theprovenanceId
value is the parent'sprovenanceId
. See Cloning a File System. - snapshot
Time This property is required. String - The date and time the snapshot was taken, expressed in RFC 3339 timestamp format. This value might be the same or different from
timeCreated
depending on the following factors:- If the snapshot is created in the original file system directory.
- If the snapshot is cloned from a file system.
- If the snapshot is replicated from a file system.
- snapshot
Type This property is required. String - Specifies the generation type of the snapshot.
- state
This property is required. String - Filter results by the specified lifecycle state. Must be a valid state for the resource type.
This property is required. Map<String,String>- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- time
Created This property is required. String - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
This property is required. {[key: string]: string}- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- expiration
Time This property is required. string - The time when this snapshot will be deleted.
- file
System Id This property is required. string - The OCID of the file system.
- filesystem
Snapshot Policy Id This property is required. string - The OCID of the file system snapshot policy that is used to create the snapshots.
This property is required. {[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
This property is required. string - Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is
Clone Source This property is required. boolean - Specifies whether the snapshot has been cloned. See Cloning a File System.
- is
Lock Override This property is required. boolean - lifecycle
Details This property is required. string - Additional information about the current
lifecycleState
. - locks
This property is required. GetSnapshots Snapshot Lock[] - Locks associated with this resource.
- name
This property is required. string - Name of the snapshot. This value is immutable.
- provenance
Id This property is required. string - An OCID identifying the parent from which this snapshot was cloned. If this snapshot was not cloned, then the
provenanceId
is the same as the snapshotid
value. If this snapshot was cloned, then theprovenanceId
value is the parent'sprovenanceId
. See Cloning a File System. - snapshot
Time This property is required. string - The date and time the snapshot was taken, expressed in RFC 3339 timestamp format. This value might be the same or different from
timeCreated
depending on the following factors:- If the snapshot is created in the original file system directory.
- If the snapshot is cloned from a file system.
- If the snapshot is replicated from a file system.
- snapshot
Type This property is required. string - Specifies the generation type of the snapshot.
- state
This property is required. string - Filter results by the specified lifecycle state. Must be a valid state for the resource type.
This property is required. {[key: string]: string}- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- time
Created This property is required. string - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
This property is required. Mapping[str, str]- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- expiration_
time This property is required. str - The time when this snapshot will be deleted.
- file_
system_ id This property is required. str - The OCID of the file system.
- filesystem_
snapshot_ policy_ id This property is required. str - The OCID of the file system snapshot policy that is used to create the snapshots.
This property is required. 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
This property is required. str - Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is_
clone_ source This property is required. bool - Specifies whether the snapshot has been cloned. See Cloning a File System.
- is_
lock_ override This property is required. bool - lifecycle_
details This property is required. str - Additional information about the current
lifecycleState
. - locks
This property is required. Sequence[filestorage.Get Snapshots Snapshot Lock] - Locks associated with this resource.
- name
This property is required. str - Name of the snapshot. This value is immutable.
- provenance_
id This property is required. str - An OCID identifying the parent from which this snapshot was cloned. If this snapshot was not cloned, then the
provenanceId
is the same as the snapshotid
value. If this snapshot was cloned, then theprovenanceId
value is the parent'sprovenanceId
. See Cloning a File System. - snapshot_
time This property is required. str - The date and time the snapshot was taken, expressed in RFC 3339 timestamp format. This value might be the same or different from
timeCreated
depending on the following factors:- If the snapshot is created in the original file system directory.
- If the snapshot is cloned from a file system.
- If the snapshot is replicated from a file system.
- snapshot_
type This property is required. str - Specifies the generation type of the snapshot.
- state
This property is required. str - Filter results by the specified lifecycle state. Must be a valid state for the resource type.
This property is required. Mapping[str, str]- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- time_
created This property is required. str - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
This property is required. Map<String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- expiration
Time This property is required. String - The time when this snapshot will be deleted.
- file
System Id This property is required. String - The OCID of the file system.
- filesystem
Snapshot Policy Id This property is required. String - The OCID of the file system snapshot policy that is used to create the snapshots.
This property is required. 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
This property is required. String - Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is
Clone Source This property is required. Boolean - Specifies whether the snapshot has been cloned. See Cloning a File System.
- is
Lock Override This property is required. Boolean - lifecycle
Details This property is required. String - Additional information about the current
lifecycleState
. - locks
This property is required. List<Property Map> - Locks associated with this resource.
- name
This property is required. String - Name of the snapshot. This value is immutable.
- provenance
Id This property is required. String - An OCID identifying the parent from which this snapshot was cloned. If this snapshot was not cloned, then the
provenanceId
is the same as the snapshotid
value. If this snapshot was cloned, then theprovenanceId
value is the parent'sprovenanceId
. See Cloning a File System. - snapshot
Time This property is required. String - The date and time the snapshot was taken, expressed in RFC 3339 timestamp format. This value might be the same or different from
timeCreated
depending on the following factors:- If the snapshot is created in the original file system directory.
- If the snapshot is cloned from a file system.
- If the snapshot is replicated from a file system.
- snapshot
Type This property is required. String - Specifies the generation type of the snapshot.
- state
This property is required. String - Filter results by the specified lifecycle state. Must be a valid state for the resource type.
This property is required. Map<String>- System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
- time
Created This property is required. String - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
GetSnapshotsSnapshotLock
- Message
This property is required. string - A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
This property is required. string- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created This property is required. string - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Type
This property is required. string - Type of the lock.
- Message
This property is required. string - A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
This property is required. string- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created This property is required. string - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Type
This property is required. string - Type of the lock.
- message
This property is required. String - A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
This property is required. String- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created This property is required. String - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type
This property is required. String - Type of the lock.
- message
This property is required. string - A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
This property is required. string- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created This property is required. string - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type
This property is required. string - Type of the lock.
- message
This property is required. str - A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
This property is required. str- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_
created This property is required. str - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type
This property is required. str - Type of the lock.
- message
This property is required. String - A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
This property is required. String- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created This property is required. String - The date and time the snapshot was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type
This property is required. String - Type of the lock.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.