Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.ObjectStorage.getBucket
Explore with Pulumi AI
This data source provides details about a specific Bucket resource in Oracle Cloud Infrastructure Object Storage service.
Gets the current representation of the given bucket in the given Object Storage namespace.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBucket = oci.ObjectStorage.getBucket({
name: bucketName,
namespace: bucketNamespace,
});
import pulumi
import pulumi_oci as oci
test_bucket = oci.ObjectStorage.get_bucket(name=bucket_name,
namespace=bucket_namespace)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ObjectStorage.GetBucket(ctx, &objectstorage.GetBucketArgs{
Name: bucketName,
Namespace: bucketNamespace,
}, 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 testBucket = Oci.ObjectStorage.GetBucket.Invoke(new()
{
Name = bucketName,
Namespace = bucketNamespace,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ObjectStorage.ObjectStorageFunctions;
import com.pulumi.oci.ObjectStorage.inputs.GetBucketArgs;
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 testBucket = ObjectStorageFunctions.getBucket(GetBucketArgs.builder()
.name(bucketName)
.namespace(bucketNamespace)
.build());
}
}
variables:
testBucket:
fn::invoke:
Function: oci:ObjectStorage:getBucket
Arguments:
name: ${bucketName}
namespace: ${bucketNamespace}
Using getBucket
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 getBucket(args: GetBucketArgs, opts?: InvokeOptions): Promise<GetBucketResult>
function getBucketOutput(args: GetBucketOutputArgs, opts?: InvokeOptions): Output<GetBucketResult>
def get_bucket(name: Optional[str] = None,
namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBucketResult
def get_bucket_output(name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBucketResult]
func GetBucket(ctx *Context, args *GetBucketArgs, opts ...InvokeOption) (*GetBucketResult, error)
func GetBucketOutput(ctx *Context, args *GetBucketOutputArgs, opts ...InvokeOption) GetBucketResultOutput
> Note: This function is named GetBucket
in the Go SDK.
public static class GetBucket
{
public static Task<GetBucketResult> InvokeAsync(GetBucketArgs args, InvokeOptions? opts = null)
public static Output<GetBucketResult> Invoke(GetBucketInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBucketResult> getBucket(GetBucketArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ObjectStorage/getBucket:getBucket
arguments:
# arguments dictionary
The following arguments are supported:
getBucket Result
The following output properties are available:
- Access
Type string - The type of public access enabled on this bucket. A bucket is set to
NoPublicAccess
by default, which only allows an authenticated caller to access the bucket and its contents. WhenObjectRead
is enabled on the bucket, public access is allowed for theGetObject
,HeadObject
, andListObjects
operations. WhenObjectReadWithoutList
is enabled on the bucket, public access is allowed for theGetObject
andHeadObject
operations. - Approximate
Count string - The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
- Approximate
Size string - The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
- Auto
Tiering string - The auto tiering status on the bucket. A bucket is created with auto tiering
Disabled
by default. For auto tieringInfrequentAccess
, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects. - Bucket
Id string - The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket).
bucket_id
cannot be used for bucket lookup. - Compartment
Id string - The compartment ID in which the bucket is authorized.
- Created
By string - The OCID of the user who created the bucket.
- 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"}
- Etag string
- The entity tag (ETag) for the bucket.
- 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
- Is
Read boolOnly - Whether or not this bucket is read only. By default,
isReadOnly
is set tofalse
. This will be set to 'true' when this bucket is configured as a destination in a replication policy. - Kms
Key stringId - The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
- Metadata Dictionary<string, string>
- Arbitrary string keys and values for user-defined metadata.
- Name string
- The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
- Namespace string
- The Object Storage namespace in which the bucket resides.
- Object
Events boolEnabled - Whether or not events are emitted for object state changes in this bucket. By default,
objectEventsEnabled
is set tofalse
. SetobjectEventsEnabled
totrue
to emit events for object state changes. For more information about events, see Overview of Events. - Object
Lifecycle stringPolicy Etag - The entity tag (ETag) for the live object lifecycle policy on the bucket.
- Replication
Enabled bool - Whether or not this bucket is a replication source. By default,
replicationEnabled
is set tofalse
. This will be set to 'true' when you create a replication policy for the bucket. - Retention
Rules List<GetBucket Retention Rule> - User specified list of retention rules for the bucket.
- Storage
Tier string - The storage tier type assigned to the bucket. A bucket is set to
Standard
tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When theArchive
tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. ThestorageTier
property is immutable after bucket is created. - Time
Created string - The date and time the bucket was created, as described in RFC 2616.
- Versioning string
- The versioning status on the bucket. A bucket is created with versioning
Disabled
by default. For versioningEnabled
, objects are protected from overwrites and deletes, by maintaining their version history. When versioning isSuspended
, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
- Access
Type string - The type of public access enabled on this bucket. A bucket is set to
NoPublicAccess
by default, which only allows an authenticated caller to access the bucket and its contents. WhenObjectRead
is enabled on the bucket, public access is allowed for theGetObject
,HeadObject
, andListObjects
operations. WhenObjectReadWithoutList
is enabled on the bucket, public access is allowed for theGetObject
andHeadObject
operations. - Approximate
Count string - The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
- Approximate
Size string - The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
- Auto
Tiering string - The auto tiering status on the bucket. A bucket is created with auto tiering
Disabled
by default. For auto tieringInfrequentAccess
, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects. - Bucket
Id string - The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket).
bucket_id
cannot be used for bucket lookup. - Compartment
Id string - The compartment ID in which the bucket is authorized.
- Created
By string - The OCID of the user who created the bucket.
- 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"}
- Etag string
- The entity tag (ETag) for the bucket.
- 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
- Is
Read boolOnly - Whether or not this bucket is read only. By default,
isReadOnly
is set tofalse
. This will be set to 'true' when this bucket is configured as a destination in a replication policy. - Kms
Key stringId - The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
- Metadata map[string]string
- Arbitrary string keys and values for user-defined metadata.
- Name string
- The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
- Namespace string
- The Object Storage namespace in which the bucket resides.
- Object
Events boolEnabled - Whether or not events are emitted for object state changes in this bucket. By default,
objectEventsEnabled
is set tofalse
. SetobjectEventsEnabled
totrue
to emit events for object state changes. For more information about events, see Overview of Events. - Object
Lifecycle stringPolicy Etag - The entity tag (ETag) for the live object lifecycle policy on the bucket.
- Replication
Enabled bool - Whether or not this bucket is a replication source. By default,
replicationEnabled
is set tofalse
. This will be set to 'true' when you create a replication policy for the bucket. - Retention
Rules []GetBucket Retention Rule - User specified list of retention rules for the bucket.
- Storage
Tier string - The storage tier type assigned to the bucket. A bucket is set to
Standard
tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When theArchive
tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. ThestorageTier
property is immutable after bucket is created. - Time
Created string - The date and time the bucket was created, as described in RFC 2616.
- Versioning string
- The versioning status on the bucket. A bucket is created with versioning
Disabled
by default. For versioningEnabled
, objects are protected from overwrites and deletes, by maintaining their version history. When versioning isSuspended
, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
- access
Type String - The type of public access enabled on this bucket. A bucket is set to
NoPublicAccess
by default, which only allows an authenticated caller to access the bucket and its contents. WhenObjectRead
is enabled on the bucket, public access is allowed for theGetObject
,HeadObject
, andListObjects
operations. WhenObjectReadWithoutList
is enabled on the bucket, public access is allowed for theGetObject
andHeadObject
operations. - approximate
Count String - The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
- approximate
Size String - The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
- auto
Tiering String - The auto tiering status on the bucket. A bucket is created with auto tiering
Disabled
by default. For auto tieringInfrequentAccess
, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects. - bucket
Id String - The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket).
bucket_id
cannot be used for bucket lookup. - compartment
Id String - The compartment ID in which the bucket is authorized.
- created
By String - The OCID of the user who created the bucket.
- 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"}
- etag String
- The entity tag (ETag) for the bucket.
- 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
- is
Read BooleanOnly - Whether or not this bucket is read only. By default,
isReadOnly
is set tofalse
. This will be set to 'true' when this bucket is configured as a destination in a replication policy. - kms
Key StringId - The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
- metadata Map<String,String>
- Arbitrary string keys and values for user-defined metadata.
- name String
- The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
- namespace String
- The Object Storage namespace in which the bucket resides.
- object
Events BooleanEnabled - Whether or not events are emitted for object state changes in this bucket. By default,
objectEventsEnabled
is set tofalse
. SetobjectEventsEnabled
totrue
to emit events for object state changes. For more information about events, see Overview of Events. - object
Lifecycle StringPolicy Etag - The entity tag (ETag) for the live object lifecycle policy on the bucket.
- replication
Enabled Boolean - Whether or not this bucket is a replication source. By default,
replicationEnabled
is set tofalse
. This will be set to 'true' when you create a replication policy for the bucket. - retention
Rules List<GetBucket Retention Rule> - User specified list of retention rules for the bucket.
- storage
Tier String - The storage tier type assigned to the bucket. A bucket is set to
Standard
tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When theArchive
tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. ThestorageTier
property is immutable after bucket is created. - time
Created String - The date and time the bucket was created, as described in RFC 2616.
- versioning String
- The versioning status on the bucket. A bucket is created with versioning
Disabled
by default. For versioningEnabled
, objects are protected from overwrites and deletes, by maintaining their version history. When versioning isSuspended
, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
- access
Type string - The type of public access enabled on this bucket. A bucket is set to
NoPublicAccess
by default, which only allows an authenticated caller to access the bucket and its contents. WhenObjectRead
is enabled on the bucket, public access is allowed for theGetObject
,HeadObject
, andListObjects
operations. WhenObjectReadWithoutList
is enabled on the bucket, public access is allowed for theGetObject
andHeadObject
operations. - approximate
Count string - The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
- approximate
Size string - The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
- auto
Tiering string - The auto tiering status on the bucket. A bucket is created with auto tiering
Disabled
by default. For auto tieringInfrequentAccess
, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects. - bucket
Id string - The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket).
bucket_id
cannot be used for bucket lookup. - compartment
Id string - The compartment ID in which the bucket is authorized.
- created
By string - The OCID of the user who created the bucket.
- {[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"}
- etag string
- The entity tag (ETag) for the bucket.
- {[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
- is
Read booleanOnly - Whether or not this bucket is read only. By default,
isReadOnly
is set tofalse
. This will be set to 'true' when this bucket is configured as a destination in a replication policy. - kms
Key stringId - The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
- metadata {[key: string]: string}
- Arbitrary string keys and values for user-defined metadata.
- name string
- The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
- namespace string
- The Object Storage namespace in which the bucket resides.
- object
Events booleanEnabled - Whether or not events are emitted for object state changes in this bucket. By default,
objectEventsEnabled
is set tofalse
. SetobjectEventsEnabled
totrue
to emit events for object state changes. For more information about events, see Overview of Events. - object
Lifecycle stringPolicy Etag - The entity tag (ETag) for the live object lifecycle policy on the bucket.
- replication
Enabled boolean - Whether or not this bucket is a replication source. By default,
replicationEnabled
is set tofalse
. This will be set to 'true' when you create a replication policy for the bucket. - retention
Rules GetBucket Retention Rule[] - User specified list of retention rules for the bucket.
- storage
Tier string - The storage tier type assigned to the bucket. A bucket is set to
Standard
tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When theArchive
tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. ThestorageTier
property is immutable after bucket is created. - time
Created string - The date and time the bucket was created, as described in RFC 2616.
- versioning string
- The versioning status on the bucket. A bucket is created with versioning
Disabled
by default. For versioningEnabled
, objects are protected from overwrites and deletes, by maintaining their version history. When versioning isSuspended
, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
- access_
type str - The type of public access enabled on this bucket. A bucket is set to
NoPublicAccess
by default, which only allows an authenticated caller to access the bucket and its contents. WhenObjectRead
is enabled on the bucket, public access is allowed for theGetObject
,HeadObject
, andListObjects
operations. WhenObjectReadWithoutList
is enabled on the bucket, public access is allowed for theGetObject
andHeadObject
operations. - approximate_
count str - The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
- approximate_
size str - The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
- auto_
tiering str - The auto tiering status on the bucket. A bucket is created with auto tiering
Disabled
by default. For auto tieringInfrequentAccess
, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects. - bucket_
id str - The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket).
bucket_id
cannot be used for bucket lookup. - compartment_
id str - The compartment ID in which the bucket is authorized.
- created_
by str - The OCID of the user who created the bucket.
- 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"}
- etag str
- The entity tag (ETag) for the bucket.
- 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
- is_
read_ boolonly - Whether or not this bucket is read only. By default,
isReadOnly
is set tofalse
. This will be set to 'true' when this bucket is configured as a destination in a replication policy. - kms_
key_ strid - The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
- metadata Mapping[str, str]
- Arbitrary string keys and values for user-defined metadata.
- name str
- The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
- namespace str
- The Object Storage namespace in which the bucket resides.
- object_
events_ boolenabled - Whether or not events are emitted for object state changes in this bucket. By default,
objectEventsEnabled
is set tofalse
. SetobjectEventsEnabled
totrue
to emit events for object state changes. For more information about events, see Overview of Events. - object_
lifecycle_ strpolicy_ etag - The entity tag (ETag) for the live object lifecycle policy on the bucket.
- replication_
enabled bool - Whether or not this bucket is a replication source. By default,
replicationEnabled
is set tofalse
. This will be set to 'true' when you create a replication policy for the bucket. - retention_
rules Sequence[objectstorage.Get Bucket Retention Rule] - User specified list of retention rules for the bucket.
- storage_
tier str - The storage tier type assigned to the bucket. A bucket is set to
Standard
tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When theArchive
tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. ThestorageTier
property is immutable after bucket is created. - time_
created str - The date and time the bucket was created, as described in RFC 2616.
- versioning str
- The versioning status on the bucket. A bucket is created with versioning
Disabled
by default. For versioningEnabled
, objects are protected from overwrites and deletes, by maintaining their version history. When versioning isSuspended
, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
- access
Type String - The type of public access enabled on this bucket. A bucket is set to
NoPublicAccess
by default, which only allows an authenticated caller to access the bucket and its contents. WhenObjectRead
is enabled on the bucket, public access is allowed for theGetObject
,HeadObject
, andListObjects
operations. WhenObjectReadWithoutList
is enabled on the bucket, public access is allowed for theGetObject
andHeadObject
operations. - approximate
Count String - The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
- approximate
Size String - The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
- auto
Tiering String - The auto tiering status on the bucket. A bucket is created with auto tiering
Disabled
by default. For auto tieringInfrequentAccess
, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects. - bucket
Id String - The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket).
bucket_id
cannot be used for bucket lookup. - compartment
Id String - The compartment ID in which the bucket is authorized.
- created
By String - The OCID of the user who created the bucket.
- 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"}
- etag String
- The entity tag (ETag) for the bucket.
- 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
- is
Read BooleanOnly - Whether or not this bucket is read only. By default,
isReadOnly
is set tofalse
. This will be set to 'true' when this bucket is configured as a destination in a replication policy. - kms
Key StringId - The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
- metadata Map<String>
- Arbitrary string keys and values for user-defined metadata.
- name String
- The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
- namespace String
- The Object Storage namespace in which the bucket resides.
- object
Events BooleanEnabled - Whether or not events are emitted for object state changes in this bucket. By default,
objectEventsEnabled
is set tofalse
. SetobjectEventsEnabled
totrue
to emit events for object state changes. For more information about events, see Overview of Events. - object
Lifecycle StringPolicy Etag - The entity tag (ETag) for the live object lifecycle policy on the bucket.
- replication
Enabled Boolean - Whether or not this bucket is a replication source. By default,
replicationEnabled
is set tofalse
. This will be set to 'true' when you create a replication policy for the bucket. - retention
Rules List<Property Map> - User specified list of retention rules for the bucket.
- storage
Tier String - The storage tier type assigned to the bucket. A bucket is set to
Standard
tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When theArchive
tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. ThestorageTier
property is immutable after bucket is created. - time
Created String - The date and time the bucket was created, as described in RFC 2616.
- versioning String
- The versioning status on the bucket. A bucket is created with versioning
Disabled
by default. For versioningEnabled
, objects are protected from overwrites and deletes, by maintaining their version history. When versioning isSuspended
, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
Supporting Types
GetBucketRetentionRule
- Display
Name string - User specified name for the retention rule.
- Durations
List<Get
Bucket Retention Rule Duration> - Retention
Rule stringId - Unique identifier for the retention rule.
- Time
Created string - The date and time the bucket was created, as described in RFC 2616.
- Time
Modified string - The date and time that the retention rule was modified as per RFC3339.
- Time
Rule stringLocked - The date and time as per RFC 3339 after which this rule becomes locked. and can only be deleted by deleting the bucket.
- Display
Name string - User specified name for the retention rule.
- Durations
[]Get
Bucket Retention Rule Duration - Retention
Rule stringId - Unique identifier for the retention rule.
- Time
Created string - The date and time the bucket was created, as described in RFC 2616.
- Time
Modified string - The date and time that the retention rule was modified as per RFC3339.
- Time
Rule stringLocked - The date and time as per RFC 3339 after which this rule becomes locked. and can only be deleted by deleting the bucket.
- display
Name String - User specified name for the retention rule.
- durations
List<Get
Bucket Retention Rule Duration> - retention
Rule StringId - Unique identifier for the retention rule.
- time
Created String - The date and time the bucket was created, as described in RFC 2616.
- time
Modified String - The date and time that the retention rule was modified as per RFC3339.
- time
Rule StringLocked - The date and time as per RFC 3339 after which this rule becomes locked. and can only be deleted by deleting the bucket.
- display
Name string - User specified name for the retention rule.
- durations
Get
Bucket Retention Rule Duration[] - retention
Rule stringId - Unique identifier for the retention rule.
- time
Created string - The date and time the bucket was created, as described in RFC 2616.
- time
Modified string - The date and time that the retention rule was modified as per RFC3339.
- time
Rule stringLocked - The date and time as per RFC 3339 after which this rule becomes locked. and can only be deleted by deleting the bucket.
- display_
name str - User specified name for the retention rule.
- durations
Sequence[objectstorage.
Get Bucket Retention Rule Duration] - retention_
rule_ strid - Unique identifier for the retention rule.
- time_
created str - The date and time the bucket was created, as described in RFC 2616.
- time_
modified str - The date and time that the retention rule was modified as per RFC3339.
- time_
rule_ strlocked - The date and time as per RFC 3339 after which this rule becomes locked. and can only be deleted by deleting the bucket.
- display
Name String - User specified name for the retention rule.
- durations List<Property Map>
- retention
Rule StringId - Unique identifier for the retention rule.
- time
Created String - The date and time the bucket was created, as described in RFC 2616.
- time
Modified String - The date and time that the retention rule was modified as per RFC3339.
- time
Rule StringLocked - The date and time as per RFC 3339 after which this rule becomes locked. and can only be deleted by deleting the bucket.
GetBucketRetentionRuleDuration
- Time
Amount string - The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
- Time
Unit string - The unit that should be used to interpret timeAmount.
- Time
Amount string - The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
- Time
Unit string - The unit that should be used to interpret timeAmount.
- time
Amount String - The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
- time
Unit String - The unit that should be used to interpret timeAmount.
- time
Amount string - The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
- time
Unit string - The unit that should be used to interpret timeAmount.
- time_
amount str - The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
- time_
unit str - The unit that should be used to interpret timeAmount.
- time
Amount String - The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
- time
Unit String - The unit that should be used to interpret timeAmount.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.