ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getCosBucket
Explore with Pulumi AI
Using getCosBucket
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 getCosBucket(args: GetCosBucketArgs, opts?: InvokeOptions): Promise<GetCosBucketResult>
function getCosBucketOutput(args: GetCosBucketOutputArgs, opts?: InvokeOptions): Output<GetCosBucketResult>
def get_cos_bucket(bucket_name: Optional[str] = None,
bucket_region: Optional[str] = None,
bucket_type: Optional[str] = None,
endpoint_type: Optional[str] = None,
id: Optional[str] = None,
resource_instance_id: Optional[str] = None,
satellite_location_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCosBucketResult
def get_cos_bucket_output(bucket_name: Optional[pulumi.Input[str]] = None,
bucket_region: Optional[pulumi.Input[str]] = None,
bucket_type: Optional[pulumi.Input[str]] = None,
endpoint_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
resource_instance_id: Optional[pulumi.Input[str]] = None,
satellite_location_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCosBucketResult]
func LookupCosBucket(ctx *Context, args *LookupCosBucketArgs, opts ...InvokeOption) (*LookupCosBucketResult, error)
func LookupCosBucketOutput(ctx *Context, args *LookupCosBucketOutputArgs, opts ...InvokeOption) LookupCosBucketResultOutput
> Note: This function is named LookupCosBucket
in the Go SDK.
public static class GetCosBucket
{
public static Task<GetCosBucketResult> InvokeAsync(GetCosBucketArgs args, InvokeOptions? opts = null)
public static Output<GetCosBucketResult> Invoke(GetCosBucketInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCosBucketResult> getCosBucket(GetCosBucketArgs args, InvokeOptions options)
public static Output<GetCosBucketResult> getCosBucket(GetCosBucketArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCosBucket:getCosBucket
arguments:
# arguments dictionary
The following arguments are supported:
- Bucket
Name string - The name of the bucket.
- Resource
Instance stringId - The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
- Bucket
Region string - The region of the bucket.
- Bucket
Type string - The type of the bucket. Supported values are
single_site_location
,region_location
, andcross_region_location
. - Endpoint
Type string - The type of the endpoint either
public
orprivate
ordirect
to be used for the buckets. Default value ispublic
. - Id string
- (string) The ID of the bucket.
- Satellite
Location stringId - satellite location id. Provided by end users.
- Bucket
Name string - The name of the bucket.
- Resource
Instance stringId - The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
- Bucket
Region string - The region of the bucket.
- Bucket
Type string - The type of the bucket. Supported values are
single_site_location
,region_location
, andcross_region_location
. - Endpoint
Type string - The type of the endpoint either
public
orprivate
ordirect
to be used for the buckets. Default value ispublic
. - Id string
- (string) The ID of the bucket.
- Satellite
Location stringId - satellite location id. Provided by end users.
- bucket
Name String - The name of the bucket.
- resource
Instance StringId - The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
- bucket
Region String - The region of the bucket.
- bucket
Type String - The type of the bucket. Supported values are
single_site_location
,region_location
, andcross_region_location
. - endpoint
Type String - The type of the endpoint either
public
orprivate
ordirect
to be used for the buckets. Default value ispublic
. - id String
- (string) The ID of the bucket.
- satellite
Location StringId - satellite location id. Provided by end users.
- bucket
Name string - The name of the bucket.
- resource
Instance stringId - The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
- bucket
Region string - The region of the bucket.
- bucket
Type string - The type of the bucket. Supported values are
single_site_location
,region_location
, andcross_region_location
. - endpoint
Type string - The type of the endpoint either
public
orprivate
ordirect
to be used for the buckets. Default value ispublic
. - id string
- (string) The ID of the bucket.
- satellite
Location stringId - satellite location id. Provided by end users.
- bucket_
name str - The name of the bucket.
- resource_
instance_ strid - The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
- bucket_
region str - The region of the bucket.
- bucket_
type str - The type of the bucket. Supported values are
single_site_location
,region_location
, andcross_region_location
. - endpoint_
type str - The type of the endpoint either
public
orprivate
ordirect
to be used for the buckets. Default value ispublic
. - id str
- (string) The ID of the bucket.
- satellite_
location_ strid - satellite location id. Provided by end users.
- bucket
Name String - The name of the bucket.
- resource
Instance StringId - The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
- bucket
Region String - The region of the bucket.
- bucket
Type String - The type of the bucket. Supported values are
single_site_location
,region_location
, andcross_region_location
. - endpoint
Type String - The type of the endpoint either
public
orprivate
ordirect
to be used for the buckets. Default value ispublic
. - id String
- (string) The ID of the bucket.
- satellite
Location StringId - satellite location id. Provided by end users.
getCosBucket Result
The following output properties are available:
- Abort
Incomplete List<GetMultipart Upload Days Cos Bucket Abort Incomplete Multipart Upload Day> - (List) Nested block with the following structure.
- Activity
Trackings List<GetCos Bucket Activity Tracking> - (List) Nested block with the following structure.
- Allowed
Ips List<string> - (string) List of
IPv4
orIPv6
addresses in CIDR notation to be affected by firewall. - Archive
Rules List<GetCos Bucket Archive Rule> - (List) Nested block with the following structure.
- Bucket
Name string - Crn string
- (string) The CRN of the bucket.
- Cross
Region stringLocation - (string) The location to create a cross-regional bucket.
- Expire
Rules List<GetCos Bucket Expire Rule> - (List) Nested block with the following structure.
- Hard
Quota double - (string) Maximum bytes for the bucket.
- Id string
- (string) The ID of the bucket.
- Key
Protect string - Kms
Key stringCrn - (string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
- Lifecycle
Rules List<GetCos Bucket Lifecycle Rule> - Metrics
Monitorings List<GetCos Bucket Metrics Monitoring> - (List) Nested block with the following structure.
- Noncurrent
Version List<GetExpirations Cos Bucket Noncurrent Version Expiration> - (List) Nested block with the following structure.
- Object
Lock bool - Object
Lock List<GetConfigurations Cos Bucket Object Lock Configuration> - (Required, List) Nested block have the following structure:
- Object
Versionings List<GetCos Bucket Object Versioning> - (List) Nestedblock have the following structure:
- Region
Location string - (string) The location to create a regional bucket.
- Replication
Rules List<GetCos Bucket Replication Rule> - (List) Nested block have the following structure:
- Resource
Instance stringId - (string) The ID of {site.data.keyword.cos_full_notm}} instance.
- Retention
Rules List<GetCos Bucket Retention Rule> - (List) Nested block have the following structure:
- S3Endpoint
Direct string - (String) Direct endpoint for cos bucket. Note:
- S3Endpoint
Private string - (String) Private endpoint for cos bucket.
- S3Endpoint
Public string - (String) Public endpoint for cos bucket.
- Single
Site stringLocation - (String) The location to create a single site bucket.
- Storage
Class string - (String) The storage class of the bucket.
- Website
Configurations List<GetCos Bucket Website Configuration> - Website
Endpoint string - (string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
- Bucket
Region string - Bucket
Type string - Endpoint
Type string - Satellite
Location stringId
- Abort
Incomplete []GetMultipart Upload Days Cos Bucket Abort Incomplete Multipart Upload Day - (List) Nested block with the following structure.
- Activity
Trackings []GetCos Bucket Activity Tracking - (List) Nested block with the following structure.
- Allowed
Ips []string - (string) List of
IPv4
orIPv6
addresses in CIDR notation to be affected by firewall. - Archive
Rules []GetCos Bucket Archive Rule - (List) Nested block with the following structure.
- Bucket
Name string - Crn string
- (string) The CRN of the bucket.
- Cross
Region stringLocation - (string) The location to create a cross-regional bucket.
- Expire
Rules []GetCos Bucket Expire Rule - (List) Nested block with the following structure.
- Hard
Quota float64 - (string) Maximum bytes for the bucket.
- Id string
- (string) The ID of the bucket.
- Key
Protect string - Kms
Key stringCrn - (string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
- Lifecycle
Rules []GetCos Bucket Lifecycle Rule - Metrics
Monitorings []GetCos Bucket Metrics Monitoring - (List) Nested block with the following structure.
- Noncurrent
Version []GetExpirations Cos Bucket Noncurrent Version Expiration - (List) Nested block with the following structure.
- Object
Lock bool - Object
Lock []GetConfigurations Cos Bucket Object Lock Configuration Type - (Required, List) Nested block have the following structure:
- Object
Versionings []GetCos Bucket Object Versioning - (List) Nestedblock have the following structure:
- Region
Location string - (string) The location to create a regional bucket.
- Replication
Rules []GetCos Bucket Replication Rule Type - (List) Nested block have the following structure:
- Resource
Instance stringId - (string) The ID of {site.data.keyword.cos_full_notm}} instance.
- Retention
Rules []GetCos Bucket Retention Rule - (List) Nested block have the following structure:
- S3Endpoint
Direct string - (String) Direct endpoint for cos bucket. Note:
- S3Endpoint
Private string - (String) Private endpoint for cos bucket.
- S3Endpoint
Public string - (String) Public endpoint for cos bucket.
- Single
Site stringLocation - (String) The location to create a single site bucket.
- Storage
Class string - (String) The storage class of the bucket.
- Website
Configurations []GetCos Bucket Website Configuration Type - Website
Endpoint string - (string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
- Bucket
Region string - Bucket
Type string - Endpoint
Type string - Satellite
Location stringId
- abort
Incomplete List<GetMultipart Upload Days Cos Bucket Abort Incomplete Multipart Upload Day> - (List) Nested block with the following structure.
- activity
Trackings List<GetCos Bucket Activity Tracking> - (List) Nested block with the following structure.
- allowed
Ips List<String> - (string) List of
IPv4
orIPv6
addresses in CIDR notation to be affected by firewall. - archive
Rules List<GetCos Bucket Archive Rule> - (List) Nested block with the following structure.
- bucket
Name String - crn String
- (string) The CRN of the bucket.
- cross
Region StringLocation - (string) The location to create a cross-regional bucket.
- expire
Rules List<GetCos Bucket Expire Rule> - (List) Nested block with the following structure.
- hard
Quota Double - (string) Maximum bytes for the bucket.
- id String
- (string) The ID of the bucket.
- key
Protect String - kms
Key StringCrn - (string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
- lifecycle
Rules List<GetCos Bucket Lifecycle Rule> - metrics
Monitorings List<GetCos Bucket Metrics Monitoring> - (List) Nested block with the following structure.
- noncurrent
Version List<GetExpirations Cos Bucket Noncurrent Version Expiration> - (List) Nested block with the following structure.
- object
Lock Boolean - object
Lock List<GetConfigurations Cos Bucket Object Lock Configuration> - (Required, List) Nested block have the following structure:
- object
Versionings List<GetCos Bucket Object Versioning> - (List) Nestedblock have the following structure:
- region
Location String - (string) The location to create a regional bucket.
- replication
Rules List<GetCos Bucket Replication Rule> - (List) Nested block have the following structure:
- resource
Instance StringId - (string) The ID of {site.data.keyword.cos_full_notm}} instance.
- retention
Rules List<GetCos Bucket Retention Rule> - (List) Nested block have the following structure:
- s3Endpoint
Direct String - (String) Direct endpoint for cos bucket. Note:
- s3Endpoint
Private String - (String) Private endpoint for cos bucket.
- s3Endpoint
Public String - (String) Public endpoint for cos bucket.
- single
Site StringLocation - (String) The location to create a single site bucket.
- storage
Class String - (String) The storage class of the bucket.
- website
Configurations List<GetCos Bucket Website Configuration> - website
Endpoint String - (string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
- bucket
Region String - bucket
Type String - endpoint
Type String - satellite
Location StringId
- abort
Incomplete GetMultipart Upload Days Cos Bucket Abort Incomplete Multipart Upload Day[] - (List) Nested block with the following structure.
- activity
Trackings GetCos Bucket Activity Tracking[] - (List) Nested block with the following structure.
- allowed
Ips string[] - (string) List of
IPv4
orIPv6
addresses in CIDR notation to be affected by firewall. - archive
Rules GetCos Bucket Archive Rule[] - (List) Nested block with the following structure.
- bucket
Name string - crn string
- (string) The CRN of the bucket.
- cross
Region stringLocation - (string) The location to create a cross-regional bucket.
- expire
Rules GetCos Bucket Expire Rule[] - (List) Nested block with the following structure.
- hard
Quota number - (string) Maximum bytes for the bucket.
- id string
- (string) The ID of the bucket.
- key
Protect string - kms
Key stringCrn - (string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
- lifecycle
Rules GetCos Bucket Lifecycle Rule[] - metrics
Monitorings GetCos Bucket Metrics Monitoring[] - (List) Nested block with the following structure.
- noncurrent
Version GetExpirations Cos Bucket Noncurrent Version Expiration[] - (List) Nested block with the following structure.
- object
Lock boolean - object
Lock GetConfigurations Cos Bucket Object Lock Configuration[] - (Required, List) Nested block have the following structure:
- object
Versionings GetCos Bucket Object Versioning[] - (List) Nestedblock have the following structure:
- region
Location string - (string) The location to create a regional bucket.
- replication
Rules GetCos Bucket Replication Rule[] - (List) Nested block have the following structure:
- resource
Instance stringId - (string) The ID of {site.data.keyword.cos_full_notm}} instance.
- retention
Rules GetCos Bucket Retention Rule[] - (List) Nested block have the following structure:
- s3Endpoint
Direct string - (String) Direct endpoint for cos bucket. Note:
- s3Endpoint
Private string - (String) Private endpoint for cos bucket.
- s3Endpoint
Public string - (String) Public endpoint for cos bucket.
- single
Site stringLocation - (String) The location to create a single site bucket.
- storage
Class string - (String) The storage class of the bucket.
- website
Configurations GetCos Bucket Website Configuration[] - website
Endpoint string - (string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
- bucket
Region string - bucket
Type string - endpoint
Type string - satellite
Location stringId
- abort_
incomplete_ Sequence[Getmultipart_ upload_ days Cos Bucket Abort Incomplete Multipart Upload Day] - (List) Nested block with the following structure.
- activity_
trackings Sequence[GetCos Bucket Activity Tracking] - (List) Nested block with the following structure.
- allowed_
ips Sequence[str] - (string) List of
IPv4
orIPv6
addresses in CIDR notation to be affected by firewall. - archive_
rules Sequence[GetCos Bucket Archive Rule] - (List) Nested block with the following structure.
- bucket_
name str - crn str
- (string) The CRN of the bucket.
- cross_
region_ strlocation - (string) The location to create a cross-regional bucket.
- expire_
rules Sequence[GetCos Bucket Expire Rule] - (List) Nested block with the following structure.
- hard_
quota float - (string) Maximum bytes for the bucket.
- id str
- (string) The ID of the bucket.
- key_
protect str - kms_
key_ strcrn - (string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
- lifecycle_
rules Sequence[GetCos Bucket Lifecycle Rule] - metrics_
monitorings Sequence[GetCos Bucket Metrics Monitoring] - (List) Nested block with the following structure.
- noncurrent_
version_ Sequence[Getexpirations Cos Bucket Noncurrent Version Expiration] - (List) Nested block with the following structure.
- object_
lock bool - object_
lock_ Sequence[Getconfigurations Cos Bucket Object Lock Configuration] - (Required, List) Nested block have the following structure:
- object_
versionings Sequence[GetCos Bucket Object Versioning] - (List) Nestedblock have the following structure:
- region_
location str - (string) The location to create a regional bucket.
- replication_
rules Sequence[GetCos Bucket Replication Rule] - (List) Nested block have the following structure:
- resource_
instance_ strid - (string) The ID of {site.data.keyword.cos_full_notm}} instance.
- retention_
rules Sequence[GetCos Bucket Retention Rule] - (List) Nested block have the following structure:
- s3_
endpoint_ strdirect - (String) Direct endpoint for cos bucket. Note:
- s3_
endpoint_ strprivate - (String) Private endpoint for cos bucket.
- s3_
endpoint_ strpublic - (String) Public endpoint for cos bucket.
- single_
site_ strlocation - (String) The location to create a single site bucket.
- storage_
class str - (String) The storage class of the bucket.
- website_
configurations Sequence[GetCos Bucket Website Configuration] - website_
endpoint str - (string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
- bucket_
region str - bucket_
type str - endpoint_
type str - satellite_
location_ strid
- abort
Incomplete List<Property Map>Multipart Upload Days - (List) Nested block with the following structure.
- activity
Trackings List<Property Map> - (List) Nested block with the following structure.
- allowed
Ips List<String> - (string) List of
IPv4
orIPv6
addresses in CIDR notation to be affected by firewall. - archive
Rules List<Property Map> - (List) Nested block with the following structure.
- bucket
Name String - crn String
- (string) The CRN of the bucket.
- cross
Region StringLocation - (string) The location to create a cross-regional bucket.
- expire
Rules List<Property Map> - (List) Nested block with the following structure.
- hard
Quota Number - (string) Maximum bytes for the bucket.
- id String
- (string) The ID of the bucket.
- key
Protect String - kms
Key StringCrn - (string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
- lifecycle
Rules List<Property Map> - metrics
Monitorings List<Property Map> - (List) Nested block with the following structure.
- noncurrent
Version List<Property Map>Expirations - (List) Nested block with the following structure.
- object
Lock Boolean - object
Lock List<Property Map>Configurations - (Required, List) Nested block have the following structure:
- object
Versionings List<Property Map> - (List) Nestedblock have the following structure:
- region
Location String - (string) The location to create a regional bucket.
- replication
Rules List<Property Map> - (List) Nested block have the following structure:
- resource
Instance StringId - (string) The ID of {site.data.keyword.cos_full_notm}} instance.
- retention
Rules List<Property Map> - (List) Nested block have the following structure:
- s3Endpoint
Direct String - (String) Direct endpoint for cos bucket. Note:
- s3Endpoint
Private String - (String) Private endpoint for cos bucket.
- s3Endpoint
Public String - (String) Public endpoint for cos bucket.
- single
Site StringLocation - (String) The location to create a single site bucket.
- storage
Class String - (String) The storage class of the bucket.
- website
Configurations List<Property Map> - website
Endpoint String - (string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
- bucket
Region String - bucket
Type String - endpoint
Type String - satellite
Location StringId
Supporting Types
GetCosBucketAbortIncompleteMultipartUploadDay
- Days
After doubleInitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Rule
Id string - (string) The rule id.
- Days
After float64Initiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Rule
Id string - (string) The rule id.
- days
After DoubleInitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule
Id String - (string) The rule id.
- days
After numberInitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- enable boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule
Id string - (string) The rule id.
- days_
after_ floatinitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- prefix str
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule_
id str - (string) The rule id.
- days
After NumberInitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule
Id String - (string) The rule id.
GetCosBucketActivityTracking
- Activity
Tracker stringCrn - (string)When the
activity_tracker_crn
is not populated, then enabled events are sent to the Activity Tracker instance associated to the container's location unless otherwise specified in the Activity Tracker Event Routing service configuration.Ifactivity_tracker_crn
is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled. - Management
Events bool - (bool) If set to true, all bucket management events will be sent to Activity Tracker.This field only applies if
activity_tracker_crn
is not populated. - Read
Data boolEvents - (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
- Write
Data boolEvents - (bool) If set to true, all object write events (that is
uploads
) is sent to Activity Tracker.
- Activity
Tracker stringCrn - (string)When the
activity_tracker_crn
is not populated, then enabled events are sent to the Activity Tracker instance associated to the container's location unless otherwise specified in the Activity Tracker Event Routing service configuration.Ifactivity_tracker_crn
is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled. - Management
Events bool - (bool) If set to true, all bucket management events will be sent to Activity Tracker.This field only applies if
activity_tracker_crn
is not populated. - Read
Data boolEvents - (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
- Write
Data boolEvents - (bool) If set to true, all object write events (that is
uploads
) is sent to Activity Tracker.
- activity
Tracker StringCrn - (string)When the
activity_tracker_crn
is not populated, then enabled events are sent to the Activity Tracker instance associated to the container's location unless otherwise specified in the Activity Tracker Event Routing service configuration.Ifactivity_tracker_crn
is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled. - management
Events Boolean - (bool) If set to true, all bucket management events will be sent to Activity Tracker.This field only applies if
activity_tracker_crn
is not populated. - read
Data BooleanEvents - (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
- write
Data BooleanEvents - (bool) If set to true, all object write events (that is
uploads
) is sent to Activity Tracker.
- activity
Tracker stringCrn - (string)When the
activity_tracker_crn
is not populated, then enabled events are sent to the Activity Tracker instance associated to the container's location unless otherwise specified in the Activity Tracker Event Routing service configuration.Ifactivity_tracker_crn
is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled. - management
Events boolean - (bool) If set to true, all bucket management events will be sent to Activity Tracker.This field only applies if
activity_tracker_crn
is not populated. - read
Data booleanEvents - (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
- write
Data booleanEvents - (bool) If set to true, all object write events (that is
uploads
) is sent to Activity Tracker.
- activity_
tracker_ strcrn - (string)When the
activity_tracker_crn
is not populated, then enabled events are sent to the Activity Tracker instance associated to the container's location unless otherwise specified in the Activity Tracker Event Routing service configuration.Ifactivity_tracker_crn
is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled. - management_
events bool - (bool) If set to true, all bucket management events will be sent to Activity Tracker.This field only applies if
activity_tracker_crn
is not populated. - read_
data_ boolevents - (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
- write_
data_ boolevents - (bool) If set to true, all object write events (that is
uploads
) is sent to Activity Tracker.
- activity
Tracker StringCrn - (string)When the
activity_tracker_crn
is not populated, then enabled events are sent to the Activity Tracker instance associated to the container's location unless otherwise specified in the Activity Tracker Event Routing service configuration.Ifactivity_tracker_crn
is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled. - management
Events Boolean - (bool) If set to true, all bucket management events will be sent to Activity Tracker.This field only applies if
activity_tracker_crn
is not populated. - read
Data BooleanEvents - (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
- write
Data BooleanEvents - (bool) If set to true, all object write events (that is
uploads
) is sent to Activity Tracker.
GetCosBucketArchiveRule
- Days double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Rule
Id string - (string) The rule id.
- Type string
- (string) Specifies the storage class or archive type to which you want the object to transition. Supported values are
Glacier
orAccelerated
.
- Days float64
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Rule
Id string - (string) The rule id.
- Type string
- (string) Specifies the storage class or archive type to which you want the object to transition. Supported values are
Glacier
orAccelerated
.
- days Double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- rule
Id String - (string) The rule id.
- type String
- (string) Specifies the storage class or archive type to which you want the object to transition. Supported values are
Glacier
orAccelerated
.
- days number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- enable boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- rule
Id string - (string) The rule id.
- type string
- (string) Specifies the storage class or archive type to which you want the object to transition. Supported values are
Glacier
orAccelerated
.
- days float
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- rule_
id str - (string) The rule id.
- type str
- (string) Specifies the storage class or archive type to which you want the object to transition. Supported values are
Glacier
orAccelerated
.
- days Number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- rule
Id String - (string) The rule id.
- type String
- (string) Specifies the storage class or archive type to which you want the object to transition. Supported values are
Glacier
orAccelerated
.
GetCosBucketExpireRule
- Date string
- (string) After the specifies date , the current version of objects in your bucket expires.
- Days double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Expired
Object boolDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Rule
Id string - (string) The rule id.
- Date string
- (string) After the specifies date , the current version of objects in your bucket expires.
- Days float64
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Expired
Object boolDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Rule
Id string - (string) The rule id.
- date String
- (string) After the specifies date , the current version of objects in your bucket expires.
- days Double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- expired
Object BooleanDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule
Id String - (string) The rule id.
- date string
- (string) After the specifies date , the current version of objects in your bucket expires.
- days number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- enable boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- expired
Object booleanDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule
Id string - (string) The rule id.
- date str
- (string) After the specifies date , the current version of objects in your bucket expires.
- days float
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- expired_
object_ booldelete_ marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- prefix str
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule_
id str - (string) The rule id.
- date String
- (string) After the specifies date , the current version of objects in your bucket expires.
- days Number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- expired
Object BooleanDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule
Id String - (string) The rule id.
GetCosBucketLifecycleRule
- Abort
Incomplete List<GetMultipart Uploads Cos Bucket Lifecycle Rule Abort Incomplete Multipart Upload> - Expirations
List<Get
Cos Bucket Lifecycle Rule Expiration> - Filters
List<Get
Cos Bucket Lifecycle Rule Filter> - Noncurrent
Version List<GetExpirations Cos Bucket Lifecycle Rule Noncurrent Version Expiration> - (List) Nested block with the following structure.
- Rule
Id string - (string) The rule id.
- Status string
- Transitions
List<Get
Cos Bucket Lifecycle Rule Transition>
- Abort
Incomplete []GetMultipart Uploads Cos Bucket Lifecycle Rule Abort Incomplete Multipart Upload - Expirations
[]Get
Cos Bucket Lifecycle Rule Expiration - Filters
[]Get
Cos Bucket Lifecycle Rule Filter - Noncurrent
Version []GetExpirations Cos Bucket Lifecycle Rule Noncurrent Version Expiration - (List) Nested block with the following structure.
- Rule
Id string - (string) The rule id.
- Status string
- Transitions
[]Get
Cos Bucket Lifecycle Rule Transition
- abort
Incomplete List<GetMultipart Uploads Cos Bucket Lifecycle Rule Abort Incomplete Multipart Upload> - expirations
List<Get
Cos Bucket Lifecycle Rule Expiration> - filters
List<Get
Cos Bucket Lifecycle Rule Filter> - noncurrent
Version List<GetExpirations Cos Bucket Lifecycle Rule Noncurrent Version Expiration> - (List) Nested block with the following structure.
- rule
Id String - (string) The rule id.
- status String
- transitions
List<Get
Cos Bucket Lifecycle Rule Transition>
- abort
Incomplete GetMultipart Uploads Cos Bucket Lifecycle Rule Abort Incomplete Multipart Upload[] - expirations
Get
Cos Bucket Lifecycle Rule Expiration[] - filters
Get
Cos Bucket Lifecycle Rule Filter[] - noncurrent
Version GetExpirations Cos Bucket Lifecycle Rule Noncurrent Version Expiration[] - (List) Nested block with the following structure.
- rule
Id string - (string) The rule id.
- status string
- transitions
Get
Cos Bucket Lifecycle Rule Transition[]
- abort_
incomplete_ Sequence[Getmultipart_ uploads Cos Bucket Lifecycle Rule Abort Incomplete Multipart Upload] - expirations
Sequence[Get
Cos Bucket Lifecycle Rule Expiration] - filters
Sequence[Get
Cos Bucket Lifecycle Rule Filter] - noncurrent_
version_ Sequence[Getexpirations Cos Bucket Lifecycle Rule Noncurrent Version Expiration] - (List) Nested block with the following structure.
- rule_
id str - (string) The rule id.
- status str
- transitions
Sequence[Get
Cos Bucket Lifecycle Rule Transition]
- abort
Incomplete List<Property Map>Multipart Uploads - expirations List<Property Map>
- filters List<Property Map>
- noncurrent
Version List<Property Map>Expirations - (List) Nested block with the following structure.
- rule
Id String - (string) The rule id.
- status String
- transitions List<Property Map>
GetCosBucketLifecycleRuleAbortIncompleteMultipartUpload
- Days
After doubleInitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- Days
After float64Initiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- days
After DoubleInitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- days
After numberInitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- days_
after_ floatinitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
- days
After NumberInitiation - (Integer) Specifies the number of days that govern the automatic cancellation of part upload. Clean up incomplete multi-part uploads after a period of time. Must be a value greater than 0.
GetCosBucketLifecycleRuleExpiration
- Date string
- (string) After the specifies date , the current version of objects in your bucket expires.
- Days double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Expired
Object boolDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- Date string
- (string) After the specifies date , the current version of objects in your bucket expires.
- Days float64
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Expired
Object boolDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- date String
- (string) After the specifies date , the current version of objects in your bucket expires.
- days Double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- expired
Object BooleanDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- date string
- (string) After the specifies date , the current version of objects in your bucket expires.
- days number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- expired
Object booleanDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- date str
- (string) After the specifies date , the current version of objects in your bucket expires.
- days float
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- expired_
object_ booldelete_ marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
- date String
- (string) After the specifies date , the current version of objects in your bucket expires.
- days Number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- expired
Object BooleanDelete Marker - (bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
GetCosBucketLifecycleRuleFilter
- Ands
List<Get
Cos Bucket Lifecycle Rule Filter And> - Object
Size doubleGreater Than - Object
Size doubleLess Than - Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- List<Get
Cos Bucket Lifecycle Rule Filter Tag>
- Ands
[]Get
Cos Bucket Lifecycle Rule Filter And - Object
Size float64Greater Than - Object
Size float64Less Than - Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- []Get
Cos Bucket Lifecycle Rule Filter Tag
- ands
List<Get
Cos Bucket Lifecycle Rule Filter And> - object
Size DoubleGreater Than - object
Size DoubleLess Than - prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- List<Get
Cos Bucket Lifecycle Rule Filter Tag>
- ands
Get
Cos Bucket Lifecycle Rule Filter And[] - object
Size numberGreater Than - object
Size numberLess Than - prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Get
Cos Bucket Lifecycle Rule Filter Tag[]
- ands
Sequence[Get
Cos Bucket Lifecycle Rule Filter And] - object_
size_ floatgreater_ than - object_
size_ floatless_ than - prefix str
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Sequence[Get
Cos Bucket Lifecycle Rule Filter Tag]
- ands List<Property Map>
- object
Size NumberGreater Than - object
Size NumberLess Than - prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- List<Property Map>
GetCosBucketLifecycleRuleFilterAnd
- Object
Size doubleGreater Than - Object
Size doubleLess Than - Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- List<Get
Cos Bucket Lifecycle Rule Filter And Tag>
- Object
Size float64Greater Than - Object
Size float64Less Than - Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- []Get
Cos Bucket Lifecycle Rule Filter And Tag
- object
Size DoubleGreater Than - object
Size DoubleLess Than - prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- List<Get
Cos Bucket Lifecycle Rule Filter And Tag>
- object
Size numberGreater Than - object
Size numberLess Than - prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Get
Cos Bucket Lifecycle Rule Filter And Tag[]
- object_
size_ floatgreater_ than - object_
size_ floatless_ than - prefix str
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Sequence[Get
Cos Bucket Lifecycle Rule Filter And Tag]
- object
Size NumberGreater Than - object
Size NumberLess Than - prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- List<Property Map>
GetCosBucketLifecycleRuleFilterAndTag
GetCosBucketLifecycleRuleFilterTag
GetCosBucketLifecycleRuleNoncurrentVersionExpiration
- Noncurrent
Days double - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- Noncurrent
Days float64 - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- noncurrent
Days Double - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- noncurrent
Days number - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- noncurrent_
days float - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- noncurrent
Days Number - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
GetCosBucketLifecycleRuleTransition
- Date string
- (string) After the specifies date , the current version of objects in your bucket expires.
- Days double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Storag
Class string
- Date string
- (string) After the specifies date , the current version of objects in your bucket expires.
- Days float64
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Storag
Class string
- date String
- (string) After the specifies date , the current version of objects in your bucket expires.
- days Double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- storag
Class String
- date string
- (string) After the specifies date , the current version of objects in your bucket expires.
- days number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- storag
Class string
- date str
- (string) After the specifies date , the current version of objects in your bucket expires.
- days float
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- storag_
class str
- date String
- (string) After the specifies date , the current version of objects in your bucket expires.
- days Number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- storag
Class String
GetCosBucketMetricsMonitoring
- Metrics
Monitoring stringCrn - (string)When the
metrics_monitoring_crn
is not populated, then enabled metrics are sent to the monitoring instance associated to the container's location unless otherwise specified in the Metrics Router service configuration.Ifmetrics_monitoring_crn
is populated, then enabled events are sent to the Metrics Monitoring instance specified. - Request
Metrics boolEnabled - (bool) If set to true, all request metrics (i.e.
rest.object.head
) will be sent to the monitoring service.. - Usage
Metrics boolEnabled - (bool) If set to true, all usage metrics (i.e.
bytes_used
) will be sent to the monitoring service.
- Metrics
Monitoring stringCrn - (string)When the
metrics_monitoring_crn
is not populated, then enabled metrics are sent to the monitoring instance associated to the container's location unless otherwise specified in the Metrics Router service configuration.Ifmetrics_monitoring_crn
is populated, then enabled events are sent to the Metrics Monitoring instance specified. - Request
Metrics boolEnabled - (bool) If set to true, all request metrics (i.e.
rest.object.head
) will be sent to the monitoring service.. - Usage
Metrics boolEnabled - (bool) If set to true, all usage metrics (i.e.
bytes_used
) will be sent to the monitoring service.
- metrics
Monitoring StringCrn - (string)When the
metrics_monitoring_crn
is not populated, then enabled metrics are sent to the monitoring instance associated to the container's location unless otherwise specified in the Metrics Router service configuration.Ifmetrics_monitoring_crn
is populated, then enabled events are sent to the Metrics Monitoring instance specified. - request
Metrics BooleanEnabled - (bool) If set to true, all request metrics (i.e.
rest.object.head
) will be sent to the monitoring service.. - usage
Metrics BooleanEnabled - (bool) If set to true, all usage metrics (i.e.
bytes_used
) will be sent to the monitoring service.
- metrics
Monitoring stringCrn - (string)When the
metrics_monitoring_crn
is not populated, then enabled metrics are sent to the monitoring instance associated to the container's location unless otherwise specified in the Metrics Router service configuration.Ifmetrics_monitoring_crn
is populated, then enabled events are sent to the Metrics Monitoring instance specified. - request
Metrics booleanEnabled - (bool) If set to true, all request metrics (i.e.
rest.object.head
) will be sent to the monitoring service.. - usage
Metrics booleanEnabled - (bool) If set to true, all usage metrics (i.e.
bytes_used
) will be sent to the monitoring service.
- metrics_
monitoring_ strcrn - (string)When the
metrics_monitoring_crn
is not populated, then enabled metrics are sent to the monitoring instance associated to the container's location unless otherwise specified in the Metrics Router service configuration.Ifmetrics_monitoring_crn
is populated, then enabled events are sent to the Metrics Monitoring instance specified. - request_
metrics_ boolenabled - (bool) If set to true, all request metrics (i.e.
rest.object.head
) will be sent to the monitoring service.. - usage_
metrics_ boolenabled - (bool) If set to true, all usage metrics (i.e.
bytes_used
) will be sent to the monitoring service.
- metrics
Monitoring StringCrn - (string)When the
metrics_monitoring_crn
is not populated, then enabled metrics are sent to the monitoring instance associated to the container's location unless otherwise specified in the Metrics Router service configuration.Ifmetrics_monitoring_crn
is populated, then enabled events are sent to the Metrics Monitoring instance specified. - request
Metrics BooleanEnabled - (bool) If set to true, all request metrics (i.e.
rest.object.head
) will be sent to the monitoring service.. - usage
Metrics BooleanEnabled - (bool) If set to true, all usage metrics (i.e.
bytes_used
) will be sent to the monitoring service.
GetCosBucketNoncurrentVersionExpiration
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Noncurrent
Days double - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Rule
Id string - (string) The rule id.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Noncurrent
Days float64 - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Rule
Id string - (string) The rule id.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- noncurrent
Days Double - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule
Id String - (string) The rule id.
- enable boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- noncurrent
Days number - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule
Id string - (string) The rule id.
- enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- noncurrent_
days float - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- prefix str
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule_
id str - (string) The rule id.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- noncurrent
Days Number - (Int) Configuration parameter in your policy that says how long to retain a non-current version before deleting it. Must be greater than 0.
- prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- rule
Id String - (string) The rule id.
GetCosBucketObjectLockConfiguration
- Object
Lock stringEnabled - (string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
- Object
Lock List<GetRules Cos Bucket Object Lock Configuration Object Lock Rule> - (List) Object Lock rule has following arguement:
- Object
Lock stringEnabled - (string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
- Object
Lock []GetRules Cos Bucket Object Lock Configuration Object Lock Rule - (List) Object Lock rule has following arguement:
- object
Lock StringEnabled - (string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
- object
Lock List<GetRules Cos Bucket Object Lock Configuration Object Lock Rule> - (List) Object Lock rule has following arguement:
- object
Lock stringEnabled - (string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
- object
Lock GetRules Cos Bucket Object Lock Configuration Object Lock Rule[] - (List) Object Lock rule has following arguement:
- object_
lock_ strenabled - (string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
- object_
lock_ Sequence[Getrules Cos Bucket Object Lock Configuration Object Lock Rule] - (List) Object Lock rule has following arguement:
- object
Lock StringEnabled - (string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
- object
Lock List<Property Map>Rules - (List) Object Lock rule has following arguement:
GetCosBucketObjectLockConfigurationObjectLockRule
- Default
Retentions List<GetCos Bucket Object Lock Configuration Object Lock Rule Default Retention> - (Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket
Nested scheme for
default_retention
:
- Default
Retentions []GetCos Bucket Object Lock Configuration Object Lock Rule Default Retention - (Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket
Nested scheme for
default_retention
:
- default
Retentions List<GetCos Bucket Object Lock Configuration Object Lock Rule Default Retention> - (Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket
Nested scheme for
default_retention
:
- default
Retentions GetCos Bucket Object Lock Configuration Object Lock Rule Default Retention[] - (Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket
Nested scheme for
default_retention
:
- default_
retentions Sequence[GetCos Bucket Object Lock Configuration Object Lock Rule Default Retention] - (Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket
Nested scheme for
default_retention
:
- default
Retentions List<Property Map> - (Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket
Nested scheme for
default_retention
:
GetCosBucketObjectLockConfigurationObjectLockRuleDefaultRetention
- Days double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Mode string
- (string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
- Years double
- (Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
- Days float64
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- Mode string
- (string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
- Years float64
- (Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
- days Double
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- mode String
- (string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
- years Double
- (Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
- days number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- mode string
- (string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
- years number
- (Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
- days float
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- mode str
- (string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
- years float
- (Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
- days Number
- (Int) Specifies number of days after which the object can be deleted from the COS bucket.
- mode String
- (string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
- years Number
- (Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
GetCosBucketObjectVersioning
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- enable boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
GetCosBucketReplicationRule
- Deletemarker
Replication boolStatus - (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
- Destination
Bucket stringCrn - (string) The CRN of your destination bucket that you want to replicate to.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Priority double
- (Int) A priority is associated with each rule. The rule will be applied in a higher priority if there are multiple rules configured. The higher the number, the higher the priority
- Rule
Id string - (string) The rule id.
- Deletemarker
Replication boolStatus - (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
- Destination
Bucket stringCrn - (string) The CRN of your destination bucket that you want to replicate to.
- Enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- Prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- Priority float64
- (Int) A priority is associated with each rule. The rule will be applied in a higher priority if there are multiple rules configured. The higher the number, the higher the priority
- Rule
Id string - (string) The rule id.
- deletemarker
Replication BooleanStatus - (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
- destination
Bucket StringCrn - (string) The CRN of your destination bucket that you want to replicate to.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- priority Double
- (Int) A priority is associated with each rule. The rule will be applied in a higher priority if there are multiple rules configured. The higher the number, the higher the priority
- rule
Id String - (string) The rule id.
- deletemarker
Replication booleanStatus - (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
- destination
Bucket stringCrn - (string) The CRN of your destination bucket that you want to replicate to.
- enable boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- prefix string
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- priority number
- (Int) A priority is associated with each rule. The rule will be applied in a higher priority if there are multiple rules configured. The higher the number, the higher the priority
- rule
Id string - (string) The rule id.
- deletemarker_
replication_ boolstatus - (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
- destination_
bucket_ strcrn - (string) The CRN of your destination bucket that you want to replicate to.
- enable bool
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- prefix str
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- priority float
- (Int) A priority is associated with each rule. The rule will be applied in a higher priority if there are multiple rules configured. The higher the number, the higher the priority
- rule_
id str - (string) The rule id.
- deletemarker
Replication BooleanStatus - (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
- destination
Bucket StringCrn - (string) The CRN of your destination bucket that you want to replicate to.
- enable Boolean
- (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
- prefix String
- (string) An object key name prefix that identifies the subset of objects to which the rule applies.
- priority Number
- (Int) A priority is associated with each rule. The rule will be applied in a higher priority if there are multiple rules configured. The higher the number, the higher the priority
- rule
Id String - (string) The rule id.
GetCosBucketRetentionRule
- Default double
- (string) default retention period are defined by this policy and apply to all objects in the bucket.
- Maximum double
- (string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
- Minimum double
- (string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
- Permanent bool
- (string) Specifies a permanent retention status either enable or disable for a bucket.
- Default float64
- (string) default retention period are defined by this policy and apply to all objects in the bucket.
- Maximum float64
- (string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
- Minimum float64
- (string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
- Permanent bool
- (string) Specifies a permanent retention status either enable or disable for a bucket.
- default_ Double
- (string) default retention period are defined by this policy and apply to all objects in the bucket.
- maximum Double
- (string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
- minimum Double
- (string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
- permanent Boolean
- (string) Specifies a permanent retention status either enable or disable for a bucket.
- default number
- (string) default retention period are defined by this policy and apply to all objects in the bucket.
- maximum number
- (string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
- minimum number
- (string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
- permanent boolean
- (string) Specifies a permanent retention status either enable or disable for a bucket.
- default float
- (string) default retention period are defined by this policy and apply to all objects in the bucket.
- maximum float
- (string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
- minimum float
- (string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
- permanent bool
- (string) Specifies a permanent retention status either enable or disable for a bucket.
- default Number
- (string) default retention period are defined by this policy and apply to all objects in the bucket.
- maximum Number
- (string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
- minimum Number
- (string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
- permanent Boolean
- (string) Specifies a permanent retention status either enable or disable for a bucket.
GetCosBucketWebsiteConfiguration
- error_
documents Sequence[GetCos Bucket Website Configuration Error Document] - index_
documents Sequence[GetCos Bucket Website Configuration Index Document] - redirect_
all_ Sequence[Getrequests_ tos Cos Bucket Website Configuration Redirect All Requests To] - routing_
rule Sequence[GetCos Bucket Website Configuration Routing Rule] - routing_
rules str
GetCosBucketWebsiteConfigurationErrorDocument
- Key string
- Key string
- key String
- key string
- key str
- key String
GetCosBucketWebsiteConfigurationIndexDocument
- Suffix string
- Suffix string
- suffix String
- suffix string
- suffix str
- suffix String
GetCosBucketWebsiteConfigurationRedirectAllRequestsTo
GetCosBucketWebsiteConfigurationRoutingRule
GetCosBucketWebsiteConfigurationRoutingRuleCondition
- Http
Error stringCode Returned Equals - Key
Prefix stringEquals
- Http
Error stringCode Returned Equals - Key
Prefix stringEquals
- http
Error StringCode Returned Equals - key
Prefix StringEquals
- http
Error stringCode Returned Equals - key
Prefix stringEquals
- http
Error StringCode Returned Equals - key
Prefix StringEquals
GetCosBucketWebsiteConfigurationRoutingRuleRedirect
- Host
Name string - Http
Redirect stringCode - Protocol string
- Replace
Key stringPrefix With - Replace
Key stringWith
- Host
Name string - Http
Redirect stringCode - Protocol string
- Replace
Key stringPrefix With - Replace
Key stringWith
- host
Name String - http
Redirect StringCode - protocol String
- replace
Key StringPrefix With - replace
Key StringWith
- host
Name string - http
Redirect stringCode - protocol string
- replace
Key stringPrefix With - replace
Key stringWith
- host_
name str - http_
redirect_ strcode - protocol str
- replace_
key_ strprefix_ with - replace_
key_ strwith
- host
Name String - http
Redirect StringCode - protocol String
- replace
Key StringPrefix With - replace
Key StringWith
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.