oci.ObjectStorage.getBucketSummaries
Explore with Pulumi AI
This data source provides the list of Buckets in Oracle Cloud Infrastructure Object Storage service.
Gets a list of all BucketSummary items in a compartment. A BucketSummary contains only summary fields for the bucket and does not contain fields like the user-defined metadata.
ListBuckets returns a BucketSummary containing at most 1000 buckets. To paginate through more buckets, use the returned
opc-next-page
value with the page
request parameter.
To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBuckets = oci.ObjectStorage.getBucketSummaries({
compartmentId: compartmentId,
namespace: bucketNamespace,
});
import pulumi
import pulumi_oci as oci
test_buckets = oci.ObjectStorage.get_bucket_summaries(compartment_id=compartment_id,
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.GetBucketSummaries(ctx, &objectstorage.GetBucketSummariesArgs{
CompartmentId: compartmentId,
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 testBuckets = Oci.ObjectStorage.GetBucketSummaries.Invoke(new()
{
CompartmentId = compartmentId,
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.GetBucketSummariesArgs;
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 testBuckets = ObjectStorageFunctions.getBucketSummaries(GetBucketSummariesArgs.builder()
.compartmentId(compartmentId)
.namespace(bucketNamespace)
.build());
}
}
variables:
testBuckets:
fn::invoke:
Function: oci:ObjectStorage:getBucketSummaries
Arguments:
compartmentId: ${compartmentId}
namespace: ${bucketNamespace}
Using getBucketSummaries
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 getBucketSummaries(args: GetBucketSummariesArgs, opts?: InvokeOptions): Promise<GetBucketSummariesResult>
function getBucketSummariesOutput(args: GetBucketSummariesOutputArgs, opts?: InvokeOptions): Output<GetBucketSummariesResult>
def get_bucket_summaries(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_objectstorage.GetBucketSummariesFilter]] = None,
namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBucketSummariesResult
def get_bucket_summaries_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_objectstorage.GetBucketSummariesFilterArgs]]]] = None,
namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBucketSummariesResult]
func GetBucketSummaries(ctx *Context, args *GetBucketSummariesArgs, opts ...InvokeOption) (*GetBucketSummariesResult, error)
func GetBucketSummariesOutput(ctx *Context, args *GetBucketSummariesOutputArgs, opts ...InvokeOption) GetBucketSummariesResultOutput
> Note: This function is named GetBucketSummaries
in the Go SDK.
public static class GetBucketSummaries
{
public static Task<GetBucketSummariesResult> InvokeAsync(GetBucketSummariesArgs args, InvokeOptions? opts = null)
public static Output<GetBucketSummariesResult> Invoke(GetBucketSummariesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBucketSummariesResult> getBucketSummaries(GetBucketSummariesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ObjectStorage/getBucketSummaries:getBucketSummaries
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list buckets.
- Namespace string
- The Object Storage namespace used for the request.
- Filters
List<Get
Bucket Summaries Filter>
- Compartment
Id string - The ID of the compartment in which to list buckets.
- Namespace string
- The Object Storage namespace used for the request.
- Filters
[]Get
Bucket Summaries Filter
- compartment
Id String - The ID of the compartment in which to list buckets.
- namespace String
- The Object Storage namespace used for the request.
- filters
List<Get
Bucket Summaries Filter>
- compartment
Id string - The ID of the compartment in which to list buckets.
- namespace string
- The Object Storage namespace used for the request.
- filters
Get
Bucket Summaries Filter[]
- compartment_
id str - The ID of the compartment in which to list buckets.
- namespace str
- The Object Storage namespace used for the request.
- filters
Sequence[objectstorage.
Get Bucket Summaries Filter]
- compartment
Id String - The ID of the compartment in which to list buckets.
- namespace String
- The Object Storage namespace used for the request.
- filters List<Property Map>
getBucketSummaries Result
The following output properties are available:
- Bucket
Summaries List<GetBucket Summaries Bucket Summary> - The list of bucket_summaries.
- Compartment
Id string - The compartment ID in which the bucket is authorized.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- The Object Storage namespace in which the bucket resides.
- Filters
List<Get
Bucket Summaries Filter>
- Bucket
Summaries []GetBucket Summaries Bucket Summary - The list of bucket_summaries.
- Compartment
Id string - The compartment ID in which the bucket is authorized.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- The Object Storage namespace in which the bucket resides.
- Filters
[]Get
Bucket Summaries Filter
- bucket
Summaries List<GetBucket Summaries Bucket Summary> - The list of bucket_summaries.
- compartment
Id String - The compartment ID in which the bucket is authorized.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- The Object Storage namespace in which the bucket resides.
- filters
List<Get
Bucket Summaries Filter>
- bucket
Summaries GetBucket Summaries Bucket Summary[] - The list of bucket_summaries.
- compartment
Id string - The compartment ID in which the bucket is authorized.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- The Object Storage namespace in which the bucket resides.
- filters
Get
Bucket Summaries Filter[]
- bucket_
summaries Sequence[objectstorage.Get Bucket Summaries Bucket Summary] - The list of bucket_summaries.
- compartment_
id str - The compartment ID in which the bucket is authorized.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- The Object Storage namespace in which the bucket resides.
- filters
Sequence[objectstorage.
Get Bucket Summaries Filter]
- bucket
Summaries List<Property Map> - The list of bucket_summaries.
- compartment
Id String - The compartment ID in which the bucket is authorized.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- The Object Storage namespace in which the bucket resides.
- filters List<Property Map>
Supporting Types
GetBucketSummariesBucketSummary
- 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 - Compartment
Id string - The ID of the compartment in which to list buckets.
- 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 used for the request.
- 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 Summaries Bucket Summary Retention Rule> - 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 - Compartment
Id string - The ID of the compartment in which to list buckets.
- 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 used for the request.
- 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 Summaries Bucket Summary Retention Rule - 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 - compartment
Id String - The ID of the compartment in which to list buckets.
- 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 used for the request.
- 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 Summaries Bucket Summary Retention Rule> - 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 - compartment
Id string - The ID of the compartment in which to list buckets.
- 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 used for the request.
- 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 Summaries Bucket Summary Retention Rule[] - 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 - compartment_
id str - The ID of the compartment in which to list buckets.
- 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 used for the request.
- 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 Summaries Bucket Summary Retention Rule] - 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 - compartment
Id String - The ID of the compartment in which to list buckets.
- 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 used for the request.
- 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> - 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.
GetBucketSummariesBucketSummaryRetentionRule
- Display
Name string - Durations
List<Get
Bucket Summaries Bucket Summary Retention Rule Duration> - Retention
Rule stringId - Time
Created string - The date and time the bucket was created, as described in RFC 2616.
- Time
Modified string - Time
Rule stringLocked
- Display
Name string - Durations
[]Get
Bucket Summaries Bucket Summary Retention Rule Duration - Retention
Rule stringId - Time
Created string - The date and time the bucket was created, as described in RFC 2616.
- Time
Modified string - Time
Rule stringLocked
- display
Name String - durations
List<Get
Bucket Summaries Bucket Summary Retention Rule Duration> - retention
Rule StringId - time
Created String - The date and time the bucket was created, as described in RFC 2616.
- time
Modified String - time
Rule StringLocked
- display
Name string - durations
Get
Bucket Summaries Bucket Summary Retention Rule Duration[] - retention
Rule stringId - time
Created string - The date and time the bucket was created, as described in RFC 2616.
- time
Modified string - time
Rule stringLocked
- display_
name str - durations
Sequence[objectstorage.
Get Bucket Summaries Bucket Summary Retention Rule Duration] - retention_
rule_ strid - time_
created str - The date and time the bucket was created, as described in RFC 2616.
- time_
modified str - time_
rule_ strlocked
- display
Name String - durations List<Property Map>
- retention
Rule StringId - time
Created String - The date and time the bucket was created, as described in RFC 2616.
- time
Modified String - time
Rule StringLocked
GetBucketSummariesBucketSummaryRetentionRuleDuration
- Time
Amount string - Time
Unit string
- Time
Amount string - Time
Unit string
- time
Amount String - time
Unit String
- time
Amount string - time
Unit string
- time_
amount str - time_
unit str
- time
Amount String - time
Unit String
GetBucketSummariesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.