1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCosBucket
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getCosBucket

Explore with Pulumi AI

ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

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>
Copy
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]
Copy
func LookupCosBucket(ctx *Context, args *LookupCosBucketArgs, opts ...InvokeOption) (*LookupCosBucketResult, error)
func LookupCosBucketOutput(ctx *Context, args *LookupCosBucketOutputArgs, opts ...InvokeOption) LookupCosBucketResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCosBucketResult> getCosBucket(GetCosBucketArgs args, InvokeOptions options)
public static Output<GetCosBucketResult> getCosBucket(GetCosBucketArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getCosBucket:getCosBucket
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BucketName This property is required. string
The name of the bucket.
ResourceInstanceId This property is required. string
The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
BucketRegion string
The region of the bucket.
BucketType string
The type of the bucket. Supported values are single_site_location, region_location, and cross_region_location.
EndpointType string
The type of the endpoint either public or private or direct to be used for the buckets. Default value is public.
Id string
(string) The ID of the bucket.
SatelliteLocationId string
satellite location id. Provided by end users.
BucketName This property is required. string
The name of the bucket.
ResourceInstanceId This property is required. string
The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
BucketRegion string
The region of the bucket.
BucketType string
The type of the bucket. Supported values are single_site_location, region_location, and cross_region_location.
EndpointType string
The type of the endpoint either public or private or direct to be used for the buckets. Default value is public.
Id string
(string) The ID of the bucket.
SatelliteLocationId string
satellite location id. Provided by end users.
bucketName This property is required. String
The name of the bucket.
resourceInstanceId This property is required. String
The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
bucketRegion String
The region of the bucket.
bucketType String
The type of the bucket. Supported values are single_site_location, region_location, and cross_region_location.
endpointType String
The type of the endpoint either public or private or direct to be used for the buckets. Default value is public.
id String
(string) The ID of the bucket.
satelliteLocationId String
satellite location id. Provided by end users.
bucketName This property is required. string
The name of the bucket.
resourceInstanceId This property is required. string
The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
bucketRegion string
The region of the bucket.
bucketType string
The type of the bucket. Supported values are single_site_location, region_location, and cross_region_location.
endpointType string
The type of the endpoint either public or private or direct to be used for the buckets. Default value is public.
id string
(string) The ID of the bucket.
satelliteLocationId string
satellite location id. Provided by end users.
bucket_name This property is required. str
The name of the bucket.
resource_instance_id This property is required. str
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, and cross_region_location.
endpoint_type str
The type of the endpoint either public or private or direct to be used for the buckets. Default value is public.
id str
(string) The ID of the bucket.
satellite_location_id str
satellite location id. Provided by end users.
bucketName This property is required. String
The name of the bucket.
resourceInstanceId This property is required. String
The ID of the IBM Cloud Object Storage service instance for which you want to create a bucket.
bucketRegion String
The region of the bucket.
bucketType String
The type of the bucket. Supported values are single_site_location, region_location, and cross_region_location.
endpointType String
The type of the endpoint either public or private or direct to be used for the buckets. Default value is public.
id String
(string) The ID of the bucket.
satelliteLocationId String
satellite location id. Provided by end users.

getCosBucket Result

The following output properties are available:

AbortIncompleteMultipartUploadDays List<GetCosBucketAbortIncompleteMultipartUploadDay>
(List) Nested block with the following structure.
ActivityTrackings List<GetCosBucketActivityTracking>
(List) Nested block with the following structure.
AllowedIps List<string>
(string) List of IPv4 or IPv6 addresses in CIDR notation to be affected by firewall.
ArchiveRules List<GetCosBucketArchiveRule>
(List) Nested block with the following structure.
BucketName string
Crn string
(string) The CRN of the bucket.
CrossRegionLocation string
(string) The location to create a cross-regional bucket.
ExpireRules List<GetCosBucketExpireRule>
(List) Nested block with the following structure.
HardQuota double
(string) Maximum bytes for the bucket.
Id string
(string) The ID of the bucket.
KeyProtect string
KmsKeyCrn string
(string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
LifecycleRules List<GetCosBucketLifecycleRule>
MetricsMonitorings List<GetCosBucketMetricsMonitoring>
(List) Nested block with the following structure.
NoncurrentVersionExpirations List<GetCosBucketNoncurrentVersionExpiration>
(List) Nested block with the following structure.
ObjectLock bool
ObjectLockConfigurations List<GetCosBucketObjectLockConfiguration>
(Required, List) Nested block have the following structure:
ObjectVersionings List<GetCosBucketObjectVersioning>
(List) Nestedblock have the following structure:
RegionLocation string
(string) The location to create a regional bucket.
ReplicationRules List<GetCosBucketReplicationRule>
(List) Nested block have the following structure:
ResourceInstanceId string
(string) The ID of {site.data.keyword.cos_full_notm}} instance.
RetentionRules List<GetCosBucketRetentionRule>
(List) Nested block have the following structure:
S3EndpointDirect string
(String) Direct endpoint for cos bucket. Note:
S3EndpointPrivate string
(String) Private endpoint for cos bucket.
S3EndpointPublic string
(String) Public endpoint for cos bucket.
SingleSiteLocation string
(String) The location to create a single site bucket.
StorageClass string
(String) The storage class of the bucket.
WebsiteConfigurations List<GetCosBucketWebsiteConfiguration>
WebsiteEndpoint string
(string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
BucketRegion string
BucketType string
EndpointType string
SatelliteLocationId string
AbortIncompleteMultipartUploadDays []GetCosBucketAbortIncompleteMultipartUploadDay
(List) Nested block with the following structure.
ActivityTrackings []GetCosBucketActivityTracking
(List) Nested block with the following structure.
AllowedIps []string
(string) List of IPv4 or IPv6 addresses in CIDR notation to be affected by firewall.
ArchiveRules []GetCosBucketArchiveRule
(List) Nested block with the following structure.
BucketName string
Crn string
(string) The CRN of the bucket.
CrossRegionLocation string
(string) The location to create a cross-regional bucket.
ExpireRules []GetCosBucketExpireRule
(List) Nested block with the following structure.
HardQuota float64
(string) Maximum bytes for the bucket.
Id string
(string) The ID of the bucket.
KeyProtect string
KmsKeyCrn string
(string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
LifecycleRules []GetCosBucketLifecycleRule
MetricsMonitorings []GetCosBucketMetricsMonitoring
(List) Nested block with the following structure.
NoncurrentVersionExpirations []GetCosBucketNoncurrentVersionExpiration
(List) Nested block with the following structure.
ObjectLock bool
ObjectLockConfigurations []GetCosBucketObjectLockConfigurationType
(Required, List) Nested block have the following structure:
ObjectVersionings []GetCosBucketObjectVersioning
(List) Nestedblock have the following structure:
RegionLocation string
(string) The location to create a regional bucket.
ReplicationRules []GetCosBucketReplicationRuleType
(List) Nested block have the following structure:
ResourceInstanceId string
(string) The ID of {site.data.keyword.cos_full_notm}} instance.
RetentionRules []GetCosBucketRetentionRule
(List) Nested block have the following structure:
S3EndpointDirect string
(String) Direct endpoint for cos bucket. Note:
S3EndpointPrivate string
(String) Private endpoint for cos bucket.
S3EndpointPublic string
(String) Public endpoint for cos bucket.
SingleSiteLocation string
(String) The location to create a single site bucket.
StorageClass string
(String) The storage class of the bucket.
WebsiteConfigurations []GetCosBucketWebsiteConfigurationType
WebsiteEndpoint string
(string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
BucketRegion string
BucketType string
EndpointType string
SatelliteLocationId string
abortIncompleteMultipartUploadDays List<GetCosBucketAbortIncompleteMultipartUploadDay>
(List) Nested block with the following structure.
activityTrackings List<GetCosBucketActivityTracking>
(List) Nested block with the following structure.
allowedIps List<String>
(string) List of IPv4 or IPv6 addresses in CIDR notation to be affected by firewall.
archiveRules List<GetCosBucketArchiveRule>
(List) Nested block with the following structure.
bucketName String
crn String
(string) The CRN of the bucket.
crossRegionLocation String
(string) The location to create a cross-regional bucket.
expireRules List<GetCosBucketExpireRule>
(List) Nested block with the following structure.
hardQuota Double
(string) Maximum bytes for the bucket.
id String
(string) The ID of the bucket.
keyProtect String
kmsKeyCrn String
(string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
lifecycleRules List<GetCosBucketLifecycleRule>
metricsMonitorings List<GetCosBucketMetricsMonitoring>
(List) Nested block with the following structure.
noncurrentVersionExpirations List<GetCosBucketNoncurrentVersionExpiration>
(List) Nested block with the following structure.
objectLock Boolean
objectLockConfigurations List<GetCosBucketObjectLockConfiguration>
(Required, List) Nested block have the following structure:
objectVersionings List<GetCosBucketObjectVersioning>
(List) Nestedblock have the following structure:
regionLocation String
(string) The location to create a regional bucket.
replicationRules List<GetCosBucketReplicationRule>
(List) Nested block have the following structure:
resourceInstanceId String
(string) The ID of {site.data.keyword.cos_full_notm}} instance.
retentionRules List<GetCosBucketRetentionRule>
(List) Nested block have the following structure:
s3EndpointDirect String
(String) Direct endpoint for cos bucket. Note:
s3EndpointPrivate String
(String) Private endpoint for cos bucket.
s3EndpointPublic String
(String) Public endpoint for cos bucket.
singleSiteLocation String
(String) The location to create a single site bucket.
storageClass String
(String) The storage class of the bucket.
websiteConfigurations List<GetCosBucketWebsiteConfiguration>
websiteEndpoint String
(string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
bucketRegion String
bucketType String
endpointType String
satelliteLocationId String
abortIncompleteMultipartUploadDays GetCosBucketAbortIncompleteMultipartUploadDay[]
(List) Nested block with the following structure.
activityTrackings GetCosBucketActivityTracking[]
(List) Nested block with the following structure.
allowedIps string[]
(string) List of IPv4 or IPv6 addresses in CIDR notation to be affected by firewall.
archiveRules GetCosBucketArchiveRule[]
(List) Nested block with the following structure.
bucketName string
crn string
(string) The CRN of the bucket.
crossRegionLocation string
(string) The location to create a cross-regional bucket.
expireRules GetCosBucketExpireRule[]
(List) Nested block with the following structure.
hardQuota number
(string) Maximum bytes for the bucket.
id string
(string) The ID of the bucket.
keyProtect string
kmsKeyCrn string
(string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
lifecycleRules GetCosBucketLifecycleRule[]
metricsMonitorings GetCosBucketMetricsMonitoring[]
(List) Nested block with the following structure.
noncurrentVersionExpirations GetCosBucketNoncurrentVersionExpiration[]
(List) Nested block with the following structure.
objectLock boolean
objectLockConfigurations GetCosBucketObjectLockConfiguration[]
(Required, List) Nested block have the following structure:
objectVersionings GetCosBucketObjectVersioning[]
(List) Nestedblock have the following structure:
regionLocation string
(string) The location to create a regional bucket.
replicationRules GetCosBucketReplicationRule[]
(List) Nested block have the following structure:
resourceInstanceId string
(string) The ID of {site.data.keyword.cos_full_notm}} instance.
retentionRules GetCosBucketRetentionRule[]
(List) Nested block have the following structure:
s3EndpointDirect string
(String) Direct endpoint for cos bucket. Note:
s3EndpointPrivate string
(String) Private endpoint for cos bucket.
s3EndpointPublic string
(String) Public endpoint for cos bucket.
singleSiteLocation string
(String) The location to create a single site bucket.
storageClass string
(String) The storage class of the bucket.
websiteConfigurations GetCosBucketWebsiteConfiguration[]
websiteEndpoint string
(string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
bucketRegion string
bucketType string
endpointType string
satelliteLocationId string
abort_incomplete_multipart_upload_days Sequence[GetCosBucketAbortIncompleteMultipartUploadDay]
(List) Nested block with the following structure.
activity_trackings Sequence[GetCosBucketActivityTracking]
(List) Nested block with the following structure.
allowed_ips Sequence[str]
(string) List of IPv4 or IPv6 addresses in CIDR notation to be affected by firewall.
archive_rules Sequence[GetCosBucketArchiveRule]
(List) Nested block with the following structure.
bucket_name str
crn str
(string) The CRN of the bucket.
cross_region_location str
(string) The location to create a cross-regional bucket.
expire_rules Sequence[GetCosBucketExpireRule]
(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_crn str
(string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
lifecycle_rules Sequence[GetCosBucketLifecycleRule]
metrics_monitorings Sequence[GetCosBucketMetricsMonitoring]
(List) Nested block with the following structure.
noncurrent_version_expirations Sequence[GetCosBucketNoncurrentVersionExpiration]
(List) Nested block with the following structure.
object_lock bool
object_lock_configurations Sequence[GetCosBucketObjectLockConfiguration]
(Required, List) Nested block have the following structure:
object_versionings Sequence[GetCosBucketObjectVersioning]
(List) Nestedblock have the following structure:
region_location str
(string) The location to create a regional bucket.
replication_rules Sequence[GetCosBucketReplicationRule]
(List) Nested block have the following structure:
resource_instance_id str
(string) The ID of {site.data.keyword.cos_full_notm}} instance.
retention_rules Sequence[GetCosBucketRetentionRule]
(List) Nested block have the following structure:
s3_endpoint_direct str
(String) Direct endpoint for cos bucket. Note:
s3_endpoint_private str
(String) Private endpoint for cos bucket.
s3_endpoint_public str
(String) Public endpoint for cos bucket.
single_site_location str
(String) The location to create a single site bucket.
storage_class str
(String) The storage class of the bucket.
website_configurations Sequence[GetCosBucketWebsiteConfiguration]
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_id str
abortIncompleteMultipartUploadDays List<Property Map>
(List) Nested block with the following structure.
activityTrackings List<Property Map>
(List) Nested block with the following structure.
allowedIps List<String>
(string) List of IPv4 or IPv6 addresses in CIDR notation to be affected by firewall.
archiveRules List<Property Map>
(List) Nested block with the following structure.
bucketName String
crn String
(string) The CRN of the bucket.
crossRegionLocation String
(string) The location to create a cross-regional bucket.
expireRules List<Property Map>
(List) Nested block with the following structure.
hardQuota Number
(string) Maximum bytes for the bucket.
id String
(string) The ID of the bucket.
keyProtect String
kmsKeyCrn String
(string) The CRN of the IBM Key Protect instance where a root key is already provisioned. Note:
lifecycleRules List<Property Map>
metricsMonitorings List<Property Map>
(List) Nested block with the following structure.
noncurrentVersionExpirations List<Property Map>
(List) Nested block with the following structure.
objectLock Boolean
objectLockConfigurations List<Property Map>
(Required, List) Nested block have the following structure:
objectVersionings List<Property Map>
(List) Nestedblock have the following structure:
regionLocation String
(string) The location to create a regional bucket.
replicationRules List<Property Map>
(List) Nested block have the following structure:
resourceInstanceId String
(string) The ID of {site.data.keyword.cos_full_notm}} instance.
retentionRules List<Property Map>
(List) Nested block have the following structure:
s3EndpointDirect String
(String) Direct endpoint for cos bucket. Note:
s3EndpointPrivate String
(String) Private endpoint for cos bucket.
s3EndpointPublic String
(String) Public endpoint for cos bucket.
singleSiteLocation String
(String) The location to create a single site bucket.
storageClass String
(String) The storage class of the bucket.
websiteConfigurations List<Property Map>
websiteEndpoint String
(string) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
bucketRegion String
bucketType String
endpointType String
satelliteLocationId String

Supporting Types

GetCosBucketAbortIncompleteMultipartUploadDay

DaysAfterInitiation This property is required. double
(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 This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
RuleId This property is required. string
(string) The rule id.
DaysAfterInitiation This property is required. float64
(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 This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
RuleId This property is required. string
(string) The rule id.
daysAfterInitiation This property is required. Double
(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 This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
ruleId This property is required. String
(string) The rule id.
daysAfterInitiation This property is required. number
(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 This property is required. boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
ruleId This property is required. string
(string) The rule id.
days_after_initiation This property is required. float
(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 This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
prefix This property is required. str
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
rule_id This property is required. str
(string) The rule id.
daysAfterInitiation This property is required. Number
(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 This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
ruleId This property is required. String
(string) The rule id.

GetCosBucketActivityTracking

ActivityTrackerCrn This property is required. string
(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.If activity_tracker_crn is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled.
ManagementEvents This property is required. 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.
ReadDataEvents This property is required. bool
(bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
WriteDataEvents This property is required. bool
(bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
ActivityTrackerCrn This property is required. string
(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.If activity_tracker_crn is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled.
ManagementEvents This property is required. 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.
ReadDataEvents This property is required. bool
(bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
WriteDataEvents This property is required. bool
(bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
activityTrackerCrn This property is required. String
(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.If activity_tracker_crn is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled.
managementEvents This property is required. 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.
readDataEvents This property is required. Boolean
(bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
writeDataEvents This property is required. Boolean
(bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
activityTrackerCrn This property is required. string
(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.If activity_tracker_crn is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled.
managementEvents This property is required. 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.
readDataEvents This property is required. boolean
(bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
writeDataEvents This property is required. boolean
(bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
activity_tracker_crn This property is required. str
(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.If activity_tracker_crn is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled.
management_events This property is required. 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_events This property is required. bool
(bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
write_data_events This property is required. bool
(bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
activityTrackerCrn This property is required. String
(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.If activity_tracker_crn is populated, then enabled events are sent to the Activity Tracker instance specified and bucket management events are always enabled.
managementEvents This property is required. 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.
readDataEvents This property is required. Boolean
(bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
writeDataEvents This property is required. Boolean
(bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.

GetCosBucketArchiveRule

Days This property is required. double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
RuleId This property is required. string
(string) The rule id.
Type This property is required. string
(string) Specifies the storage class or archive type to which you want the object to transition. Supported values are Glacier or Accelerated.
Days This property is required. float64
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
RuleId This property is required. string
(string) The rule id.
Type This property is required. string
(string) Specifies the storage class or archive type to which you want the object to transition. Supported values are Glacier or Accelerated.
days This property is required. Double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
ruleId This property is required. String
(string) The rule id.
type This property is required. String
(string) Specifies the storage class or archive type to which you want the object to transition. Supported values are Glacier or Accelerated.
days This property is required. number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
enable This property is required. boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
ruleId This property is required. string
(string) The rule id.
type This property is required. string
(string) Specifies the storage class or archive type to which you want the object to transition. Supported values are Glacier or Accelerated.
days This property is required. float
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
rule_id This property is required. str
(string) The rule id.
type This property is required. str
(string) Specifies the storage class or archive type to which you want the object to transition. Supported values are Glacier or Accelerated.
days This property is required. Number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
ruleId This property is required. String
(string) The rule id.
type This property is required. String
(string) Specifies the storage class or archive type to which you want the object to transition. Supported values are Glacier or Accelerated.

GetCosBucketExpireRule

Date This property is required. string
(string) After the specifies date , the current version of objects in your bucket expires.
Days This property is required. double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
ExpiredObjectDeleteMarker This property is required. bool
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
RuleId This property is required. string
(string) The rule id.
Date This property is required. string
(string) After the specifies date , the current version of objects in your bucket expires.
Days This property is required. float64
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
ExpiredObjectDeleteMarker This property is required. bool
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
RuleId This property is required. string
(string) The rule id.
date This property is required. String
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. Double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
expiredObjectDeleteMarker This property is required. Boolean
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
ruleId This property is required. String
(string) The rule id.
date This property is required. string
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
enable This property is required. boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
expiredObjectDeleteMarker This property is required. boolean
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
ruleId This property is required. string
(string) The rule id.
date This property is required. str
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. float
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
expired_object_delete_marker This property is required. bool
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
prefix This property is required. str
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
rule_id This property is required. str
(string) The rule id.
date This property is required. String
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. Number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
expiredObjectDeleteMarker This property is required. Boolean
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
ruleId This property is required. String
(string) The rule id.

GetCosBucketLifecycleRule

AbortIncompleteMultipartUploads This property is required. List<GetCosBucketLifecycleRuleAbortIncompleteMultipartUpload>
Expirations This property is required. List<GetCosBucketLifecycleRuleExpiration>
Filters This property is required. List<GetCosBucketLifecycleRuleFilter>
NoncurrentVersionExpirations This property is required. List<GetCosBucketLifecycleRuleNoncurrentVersionExpiration>
(List) Nested block with the following structure.
RuleId This property is required. string
(string) The rule id.
Status This property is required. string
Transitions This property is required. List<GetCosBucketLifecycleRuleTransition>
AbortIncompleteMultipartUploads This property is required. []GetCosBucketLifecycleRuleAbortIncompleteMultipartUpload
Expirations This property is required. []GetCosBucketLifecycleRuleExpiration
Filters This property is required. []GetCosBucketLifecycleRuleFilter
NoncurrentVersionExpirations This property is required. []GetCosBucketLifecycleRuleNoncurrentVersionExpiration
(List) Nested block with the following structure.
RuleId This property is required. string
(string) The rule id.
Status This property is required. string
Transitions This property is required. []GetCosBucketLifecycleRuleTransition
abortIncompleteMultipartUploads This property is required. List<GetCosBucketLifecycleRuleAbortIncompleteMultipartUpload>
expirations This property is required. List<GetCosBucketLifecycleRuleExpiration>
filters This property is required. List<GetCosBucketLifecycleRuleFilter>
noncurrentVersionExpirations This property is required. List<GetCosBucketLifecycleRuleNoncurrentVersionExpiration>
(List) Nested block with the following structure.
ruleId This property is required. String
(string) The rule id.
status This property is required. String
transitions This property is required. List<GetCosBucketLifecycleRuleTransition>
abortIncompleteMultipartUploads This property is required. GetCosBucketLifecycleRuleAbortIncompleteMultipartUpload[]
expirations This property is required. GetCosBucketLifecycleRuleExpiration[]
filters This property is required. GetCosBucketLifecycleRuleFilter[]
noncurrentVersionExpirations This property is required. GetCosBucketLifecycleRuleNoncurrentVersionExpiration[]
(List) Nested block with the following structure.
ruleId This property is required. string
(string) The rule id.
status This property is required. string
transitions This property is required. GetCosBucketLifecycleRuleTransition[]
abort_incomplete_multipart_uploads This property is required. Sequence[GetCosBucketLifecycleRuleAbortIncompleteMultipartUpload]
expirations This property is required. Sequence[GetCosBucketLifecycleRuleExpiration]
filters This property is required. Sequence[GetCosBucketLifecycleRuleFilter]
noncurrent_version_expirations This property is required. Sequence[GetCosBucketLifecycleRuleNoncurrentVersionExpiration]
(List) Nested block with the following structure.
rule_id This property is required. str
(string) The rule id.
status This property is required. str
transitions This property is required. Sequence[GetCosBucketLifecycleRuleTransition]
abortIncompleteMultipartUploads This property is required. List<Property Map>
expirations This property is required. List<Property Map>
filters This property is required. List<Property Map>
noncurrentVersionExpirations This property is required. List<Property Map>
(List) Nested block with the following structure.
ruleId This property is required. String
(string) The rule id.
status This property is required. String
transitions This property is required. List<Property Map>

GetCosBucketLifecycleRuleAbortIncompleteMultipartUpload

DaysAfterInitiation This property is required. double
(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.
DaysAfterInitiation This property is required. float64
(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.
daysAfterInitiation This property is required. Double
(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.
daysAfterInitiation This property is required. number
(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_initiation This property is required. float
(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.
daysAfterInitiation This property is required. Number
(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 This property is required. string
(string) After the specifies date , the current version of objects in your bucket expires.
Days This property is required. double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
ExpiredObjectDeleteMarker This property is required. bool
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
Date This property is required. string
(string) After the specifies date , the current version of objects in your bucket expires.
Days This property is required. float64
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
ExpiredObjectDeleteMarker This property is required. bool
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
date This property is required. String
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. Double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
expiredObjectDeleteMarker This property is required. Boolean
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
date This property is required. string
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
expiredObjectDeleteMarker This property is required. boolean
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
date This property is required. str
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. float
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
expired_object_delete_marker This property is required. bool
(bool) Expired object delete markers can be automatically cleaned up to improve performance in your bucket. This cannot be used alongside version expiration.
date This property is required. String
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. Number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
expiredObjectDeleteMarker This property is required. Boolean
(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 This property is required. List<GetCosBucketLifecycleRuleFilterAnd>
ObjectSizeGreaterThan This property is required. double
ObjectSizeLessThan This property is required. double
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
Tags This property is required. List<GetCosBucketLifecycleRuleFilterTag>
Ands This property is required. []GetCosBucketLifecycleRuleFilterAnd
ObjectSizeGreaterThan This property is required. float64
ObjectSizeLessThan This property is required. float64
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
Tags This property is required. []GetCosBucketLifecycleRuleFilterTag
ands This property is required. List<GetCosBucketLifecycleRuleFilterAnd>
objectSizeGreaterThan This property is required. Double
objectSizeLessThan This property is required. Double
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
tags This property is required. List<GetCosBucketLifecycleRuleFilterTag>
ands This property is required. GetCosBucketLifecycleRuleFilterAnd[]
objectSizeGreaterThan This property is required. number
objectSizeLessThan This property is required. number
prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
tags This property is required. GetCosBucketLifecycleRuleFilterTag[]
ands This property is required. Sequence[GetCosBucketLifecycleRuleFilterAnd]
object_size_greater_than This property is required. float
object_size_less_than This property is required. float
prefix This property is required. str
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
tags This property is required. Sequence[GetCosBucketLifecycleRuleFilterTag]
ands This property is required. List<Property Map>
objectSizeGreaterThan This property is required. Number
objectSizeLessThan This property is required. Number
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
tags This property is required. List<Property Map>

GetCosBucketLifecycleRuleFilterAnd

ObjectSizeGreaterThan This property is required. double
ObjectSizeLessThan This property is required. double
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
Tags This property is required. List<GetCosBucketLifecycleRuleFilterAndTag>
ObjectSizeGreaterThan This property is required. float64
ObjectSizeLessThan This property is required. float64
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
Tags This property is required. []GetCosBucketLifecycleRuleFilterAndTag
objectSizeGreaterThan This property is required. Double
objectSizeLessThan This property is required. Double
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
tags This property is required. List<GetCosBucketLifecycleRuleFilterAndTag>
objectSizeGreaterThan This property is required. number
objectSizeLessThan This property is required. number
prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
tags This property is required. GetCosBucketLifecycleRuleFilterAndTag[]
object_size_greater_than This property is required. float
object_size_less_than This property is required. float
prefix This property is required. str
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
tags This property is required. Sequence[GetCosBucketLifecycleRuleFilterAndTag]
objectSizeGreaterThan This property is required. Number
objectSizeLessThan This property is required. Number
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
tags This property is required. List<Property Map>

GetCosBucketLifecycleRuleFilterAndTag

Key This property is required. string
Value This property is required. string
Key This property is required. string
Value This property is required. string
key This property is required. String
value This property is required. String
key This property is required. string
value This property is required. string
key This property is required. str
value This property is required. str
key This property is required. String
value This property is required. String

GetCosBucketLifecycleRuleFilterTag

Key This property is required. string
Value This property is required. string
Key This property is required. string
Value This property is required. string
key This property is required. String
value This property is required. String
key This property is required. string
value This property is required. string
key This property is required. str
value This property is required. str
key This property is required. String
value This property is required. String

GetCosBucketLifecycleRuleNoncurrentVersionExpiration

NoncurrentDays This property is required. 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.
NoncurrentDays This property is required. 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.
noncurrentDays This property is required. 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.
noncurrentDays This property is required. 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 This property is required. 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.
noncurrentDays This property is required. 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 This property is required. string
(string) After the specifies date , the current version of objects in your bucket expires.
Days This property is required. double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
StoragClass This property is required. string
Date This property is required. string
(string) After the specifies date , the current version of objects in your bucket expires.
Days This property is required. float64
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
StoragClass This property is required. string
date This property is required. String
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. Double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
storagClass This property is required. String
date This property is required. string
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
storagClass This property is required. string
date This property is required. str
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. float
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
storag_class This property is required. str
date This property is required. String
(string) After the specifies date , the current version of objects in your bucket expires.
days This property is required. Number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
storagClass This property is required. String

GetCosBucketMetricsMonitoring

MetricsMonitoringCrn This property is required. string
(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.If metrics_monitoring_crn is populated, then enabled events are sent to the Metrics Monitoring instance specified.
RequestMetricsEnabled This property is required. bool
(bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
UsageMetricsEnabled This property is required. bool
(bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
MetricsMonitoringCrn This property is required. string
(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.If metrics_monitoring_crn is populated, then enabled events are sent to the Metrics Monitoring instance specified.
RequestMetricsEnabled This property is required. bool
(bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
UsageMetricsEnabled This property is required. bool
(bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
metricsMonitoringCrn This property is required. String
(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.If metrics_monitoring_crn is populated, then enabled events are sent to the Metrics Monitoring instance specified.
requestMetricsEnabled This property is required. Boolean
(bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
usageMetricsEnabled This property is required. Boolean
(bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
metricsMonitoringCrn This property is required. string
(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.If metrics_monitoring_crn is populated, then enabled events are sent to the Metrics Monitoring instance specified.
requestMetricsEnabled This property is required. boolean
(bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
usageMetricsEnabled This property is required. boolean
(bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
metrics_monitoring_crn This property is required. str
(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.If metrics_monitoring_crn is populated, then enabled events are sent to the Metrics Monitoring instance specified.
request_metrics_enabled This property is required. bool
(bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
usage_metrics_enabled This property is required. bool
(bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
metricsMonitoringCrn This property is required. String
(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.If metrics_monitoring_crn is populated, then enabled events are sent to the Metrics Monitoring instance specified.
requestMetricsEnabled This property is required. Boolean
(bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
usageMetricsEnabled This property is required. Boolean
(bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.

GetCosBucketNoncurrentVersionExpiration

Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
NoncurrentDays This property is required. 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 This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
RuleId This property is required. string
(string) The rule id.
Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
NoncurrentDays This property is required. 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 This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
RuleId This property is required. string
(string) The rule id.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
noncurrentDays This property is required. 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 This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
ruleId This property is required. String
(string) The rule id.
enable This property is required. boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
noncurrentDays This property is required. 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 This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
ruleId This property is required. string
(string) The rule id.
enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
noncurrent_days This property is required. 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 This property is required. str
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
rule_id This property is required. str
(string) The rule id.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
noncurrentDays This property is required. 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 This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
ruleId This property is required. String
(string) The rule id.

GetCosBucketObjectLockConfiguration

ObjectLockEnabled This property is required. string
(string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
ObjectLockRules This property is required. List<GetCosBucketObjectLockConfigurationObjectLockRule>
(List) Object Lock rule has following arguement:
ObjectLockEnabled This property is required. string
(string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
ObjectLockRules This property is required. []GetCosBucketObjectLockConfigurationObjectLockRule
(List) Object Lock rule has following arguement:
objectLockEnabled This property is required. String
(string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
objectLockRules This property is required. List<GetCosBucketObjectLockConfigurationObjectLockRule>
(List) Object Lock rule has following arguement:
objectLockEnabled This property is required. string
(string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
objectLockRules This property is required. GetCosBucketObjectLockConfigurationObjectLockRule[]
(List) Object Lock rule has following arguement:
object_lock_enabled This property is required. str
(string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
object_lock_rules This property is required. Sequence[GetCosBucketObjectLockConfigurationObjectLockRule]
(List) Object Lock rule has following arguement:
objectLockEnabled This property is required. String
(string) Indicates whether this bucket has an Object Lock configuration enabled. Defaults to Enabled. Valid values: Enabled.
objectLockRules This property is required. List<Property Map>
(List) Object Lock rule has following arguement:

GetCosBucketObjectLockConfigurationObjectLockRule

DefaultRetentions This property is required. List<GetCosBucketObjectLockConfigurationObjectLockRuleDefaultRetention>
(Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket Nested scheme for default_retention:
DefaultRetentions This property is required. []GetCosBucketObjectLockConfigurationObjectLockRuleDefaultRetention
(Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket Nested scheme for default_retention:
defaultRetentions This property is required. List<GetCosBucketObjectLockConfigurationObjectLockRuleDefaultRetention>
(Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket Nested scheme for default_retention:
defaultRetentions This property is required. GetCosBucketObjectLockConfigurationObjectLockRuleDefaultRetention[]
(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 This property is required. Sequence[GetCosBucketObjectLockConfigurationObjectLockRuleDefaultRetention]
(Required) Configuration block for specifying the default Object Lock retention settings for new objects placed in the specified bucket Nested scheme for default_retention:
defaultRetentions This property is required. 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 This property is required. double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
Mode This property is required. string
(string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
Years This property is required. double
(Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
Days This property is required. float64
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
Mode This property is required. string
(string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
Years This property is required. float64
(Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
days This property is required. Double
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
mode This property is required. String
(string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
years This property is required. Double
(Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
days This property is required. number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
mode This property is required. string
(string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
years This property is required. number
(Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
days This property is required. float
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
mode This property is required. str
(string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
years This property is required. float
(Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:
days This property is required. Number
(Int) Specifies number of days after which the object can be deleted from the COS bucket.
mode This property is required. String
(string) Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Supported values: COMPLIANCE.
years This property is required. Number
(Int) Specifies number of years after which the object can be deleted from the COS bucket. Note:

GetCosBucketObjectVersioning

Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
enable This property is required. boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.

GetCosBucketReplicationRule

DeletemarkerReplicationStatus This property is required. bool
(bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
DestinationBucketCrn This property is required. string
(string) The CRN of your destination bucket that you want to replicate to.
Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
Priority This property is required. 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
RuleId This property is required. string
(string) The rule id.
DeletemarkerReplicationStatus This property is required. bool
(bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
DestinationBucketCrn This property is required. string
(string) The CRN of your destination bucket that you want to replicate to.
Enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
Prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
Priority This property is required. 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
RuleId This property is required. string
(string) The rule id.
deletemarkerReplicationStatus This property is required. Boolean
(bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
destinationBucketCrn This property is required. String
(string) The CRN of your destination bucket that you want to replicate to.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
priority This property is required. 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
ruleId This property is required. String
(string) The rule id.
deletemarkerReplicationStatus This property is required. boolean
(bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
destinationBucketCrn This property is required. string
(string) The CRN of your destination bucket that you want to replicate to.
enable This property is required. boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
prefix This property is required. string
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
priority This property is required. 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
ruleId This property is required. string
(string) The rule id.
deletemarker_replication_status This property is required. bool
(bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
destination_bucket_crn This property is required. str
(string) The CRN of your destination bucket that you want to replicate to.
enable This property is required. bool
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
prefix This property is required. str
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
priority This property is required. 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 This property is required. str
(string) The rule id.
deletemarkerReplicationStatus This property is required. Boolean
(bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
destinationBucketCrn This property is required. String
(string) The CRN of your destination bucket that you want to replicate to.
enable This property is required. Boolean
(bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
prefix This property is required. String
(string) An object key name prefix that identifies the subset of objects to which the rule applies.
priority This property is required. 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
ruleId This property is required. String
(string) The rule id.

GetCosBucketRetentionRule

Default This property is required. double
(string) default retention period are defined by this policy and apply to all objects in the bucket.
Maximum This property is required. double
(string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
Minimum This property is required. double
(string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
Permanent This property is required. bool
(string) Specifies a permanent retention status either enable or disable for a bucket.
Default This property is required. float64
(string) default retention period are defined by this policy and apply to all objects in the bucket.
Maximum This property is required. float64
(string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
Minimum This property is required. float64
(string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
Permanent This property is required. bool
(string) Specifies a permanent retention status either enable or disable for a bucket.
default_ This property is required. Double
(string) default retention period are defined by this policy and apply to all objects in the bucket.
maximum This property is required. Double
(string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
minimum This property is required. Double
(string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
permanent This property is required. Boolean
(string) Specifies a permanent retention status either enable or disable for a bucket.
default This property is required. number
(string) default retention period are defined by this policy and apply to all objects in the bucket.
maximum This property is required. number
(string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
minimum This property is required. number
(string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
permanent This property is required. boolean
(string) Specifies a permanent retention status either enable or disable for a bucket.
default This property is required. float
(string) default retention period are defined by this policy and apply to all objects in the bucket.
maximum This property is required. float
(string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
minimum This property is required. float
(string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
permanent This property is required. bool
(string) Specifies a permanent retention status either enable or disable for a bucket.
default This property is required. Number
(string) default retention period are defined by this policy and apply to all objects in the bucket.
maximum This property is required. Number
(string) Specifies maximum duration of time an object can be kept unmodified in the bucket.
minimum This property is required. Number
(string) Specifies minimum duration of time an object must be kept unmodified in the bucket.
permanent This property is required. Boolean
(string) Specifies a permanent retention status either enable or disable for a bucket.

GetCosBucketWebsiteConfiguration

errorDocuments This property is required. List<Property Map>
indexDocuments This property is required. List<Property Map>
redirectAllRequestsTos This property is required. List<Property Map>
routingRule This property is required. List<Property Map>
routingRules This property is required. String

GetCosBucketWebsiteConfigurationErrorDocument

Key This property is required. string
Key This property is required. string
key This property is required. String
key This property is required. string
key This property is required. str
key This property is required. String

GetCosBucketWebsiteConfigurationIndexDocument

Suffix This property is required. string
Suffix This property is required. string
suffix This property is required. String
suffix This property is required. string
suffix This property is required. str
suffix This property is required. String

GetCosBucketWebsiteConfigurationRedirectAllRequestsTo

HostName This property is required. string
Protocol This property is required. string
HostName This property is required. string
Protocol This property is required. string
hostName This property is required. String
protocol This property is required. String
hostName This property is required. string
protocol This property is required. string
host_name This property is required. str
protocol This property is required. str
hostName This property is required. String
protocol This property is required. String

GetCosBucketWebsiteConfigurationRoutingRule

conditions This property is required. List<Property Map>
redirects This property is required. List<Property Map>

GetCosBucketWebsiteConfigurationRoutingRuleCondition

HttpErrorCodeReturnedEquals This property is required. string
KeyPrefixEquals This property is required. string
HttpErrorCodeReturnedEquals This property is required. string
KeyPrefixEquals This property is required. string
httpErrorCodeReturnedEquals This property is required. String
keyPrefixEquals This property is required. String
httpErrorCodeReturnedEquals This property is required. string
keyPrefixEquals This property is required. string
http_error_code_returned_equals This property is required. str
key_prefix_equals This property is required. str
httpErrorCodeReturnedEquals This property is required. String
keyPrefixEquals This property is required. String

GetCosBucketWebsiteConfigurationRoutingRuleRedirect

HostName This property is required. string
HttpRedirectCode This property is required. string
Protocol This property is required. string
ReplaceKeyPrefixWith This property is required. string
ReplaceKeyWith This property is required. string
HostName This property is required. string
HttpRedirectCode This property is required. string
Protocol This property is required. string
ReplaceKeyPrefixWith This property is required. string
ReplaceKeyWith This property is required. string
hostName This property is required. String
httpRedirectCode This property is required. String
protocol This property is required. String
replaceKeyPrefixWith This property is required. String
replaceKeyWith This property is required. String
hostName This property is required. string
httpRedirectCode This property is required. string
protocol This property is required. string
replaceKeyPrefixWith This property is required. string
replaceKeyWith This property is required. string
host_name This property is required. str
http_redirect_code This property is required. str
protocol This property is required. str
replace_key_prefix_with This property is required. str
replace_key_with This property is required. str
hostName This property is required. String
httpRedirectCode This property is required. String
protocol This property is required. String
replaceKeyPrefixWith This property is required. String
replaceKeyWith This property is required. String

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud