1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCosBucket
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getCosBucket

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 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>
    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:

    BucketName string
    The name of the bucket.
    ResourceInstanceId 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 string
    The name of the bucket.
    ResourceInstanceId 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 String
    The name of the bucket.
    resourceInstanceId 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 string
    The name of the bucket.
    resourceInstanceId 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 str
    The name of the bucket.
    resource_instance_id 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 String
    The name of the bucket.
    resourceInstanceId 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 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 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.
    RuleId string
    (string) The rule id.
    DaysAfterInitiation 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 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.
    RuleId string
    (string) The rule id.
    daysAfterInitiation 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 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.
    ruleId String
    (string) The rule id.
    daysAfterInitiation 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 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.
    ruleId string
    (string) The rule id.
    days_after_initiation 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 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.
    daysAfterInitiation 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 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.
    ruleId String
    (string) The rule id.

    GetCosBucketActivityTracking

    ActivityTrackerCrn 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 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 bool
    (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
    WriteDataEvents bool
    (bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
    ActivityTrackerCrn 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 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 bool
    (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
    WriteDataEvents bool
    (bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
    activityTrackerCrn 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 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 Boolean
    (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
    writeDataEvents Boolean
    (bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
    activityTrackerCrn 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 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 boolean
    (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
    writeDataEvents boolean
    (bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
    activity_tracker_crn 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 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 bool
    (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
    write_data_events bool
    (bool) If set to true, all object write events (that is uploads) is sent to Activity Tracker.
    activityTrackerCrn 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 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 Boolean
    (bool) If set to true, all object read events (i.e. downloads) will be sent to Activity Tracker.
    writeDataEvents Boolean
    (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.
    RuleId 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 or Accelerated.
    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.
    RuleId 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 or Accelerated.
    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.
    ruleId 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 or Accelerated.
    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.
    ruleId 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 or Accelerated.
    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 or Accelerated.
    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.
    ruleId 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 or Accelerated.

    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.
    ExpiredObjectDeleteMarker 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 string
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    RuleId 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.
    ExpiredObjectDeleteMarker 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 string
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    RuleId 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.
    expiredObjectDeleteMarker 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 String
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    ruleId 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.
    expiredObjectDeleteMarker 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 string
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    ruleId 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_delete_marker 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 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.
    expiredObjectDeleteMarker 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 String
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    ruleId String
    (string) The rule id.

    GetCosBucketLifecycleRule

    GetCosBucketLifecycleRuleAbortIncompleteMultipartUpload

    DaysAfterInitiation 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 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 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 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 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 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 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.
    ExpiredObjectDeleteMarker 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 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.
    ExpiredObjectDeleteMarker 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 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.
    expiredObjectDeleteMarker 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 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.
    expiredObjectDeleteMarker 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 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_delete_marker 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 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.
    expiredObjectDeleteMarker 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 List<GetCosBucketLifecycleRuleFilterAnd>
    ObjectSizeGreaterThan double
    ObjectSizeLessThan double
    Prefix string
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    Tags List<GetCosBucketLifecycleRuleFilterTag>
    Ands []GetCosBucketLifecycleRuleFilterAnd
    ObjectSizeGreaterThan float64
    ObjectSizeLessThan float64
    Prefix string
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    Tags []GetCosBucketLifecycleRuleFilterTag
    ands List<GetCosBucketLifecycleRuleFilterAnd>
    objectSizeGreaterThan Double
    objectSizeLessThan Double
    prefix String
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    tags List<GetCosBucketLifecycleRuleFilterTag>
    ands GetCosBucketLifecycleRuleFilterAnd[]
    objectSizeGreaterThan number
    objectSizeLessThan number
    prefix string
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    tags GetCosBucketLifecycleRuleFilterTag[]
    ands Sequence[GetCosBucketLifecycleRuleFilterAnd]
    object_size_greater_than float
    object_size_less_than float
    prefix str
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    tags Sequence[GetCosBucketLifecycleRuleFilterTag]
    ands List<Property Map>
    objectSizeGreaterThan Number
    objectSizeLessThan Number
    prefix String
    (string) An object key name prefix that identifies the subset of objects to which the rule applies.
    tags List<Property Map>

    GetCosBucketLifecycleRuleFilterAnd

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

    GetCosBucketLifecycleRuleFilterAndTag

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    GetCosBucketLifecycleRuleFilterTag

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    GetCosBucketLifecycleRuleNoncurrentVersionExpiration

    NoncurrentDays 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 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 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 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.
    noncurrentDays 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.
    StoragClass 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.
    StoragClass 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.
    storagClass 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.
    storagClass 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.
    storagClass String

    GetCosBucketMetricsMonitoring

    MetricsMonitoringCrn 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 bool
    (bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
    UsageMetricsEnabled bool
    (bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
    MetricsMonitoringCrn 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 bool
    (bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
    UsageMetricsEnabled bool
    (bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
    metricsMonitoringCrn 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 Boolean
    (bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
    usageMetricsEnabled Boolean
    (bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
    metricsMonitoringCrn 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 boolean
    (bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
    usageMetricsEnabled boolean
    (bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
    metrics_monitoring_crn 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 bool
    (bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
    usage_metrics_enabled bool
    (bool) If set to true, all usage metrics (i.e. bytes_used) will be sent to the monitoring service.
    metricsMonitoringCrn 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 Boolean
    (bool) If set to true, all request metrics (i.e. rest.object.head) will be sent to the monitoring service..
    usageMetricsEnabled Boolean
    (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.
    NoncurrentDays 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.
    RuleId string
    (string) The rule id.
    Enable bool
    (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
    NoncurrentDays 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.
    RuleId string
    (string) The rule id.
    enable Boolean
    (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
    noncurrentDays 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.
    ruleId String
    (string) The rule id.
    enable boolean
    (bool) Specifies whether the rule is enabled. Specify true for Enabling it or false for Disabling it.
    noncurrentDays 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.
    ruleId 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.
    noncurrentDays 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.
    ruleId String
    (string) The rule id.

    GetCosBucketObjectLockConfiguration

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

    GetCosBucketObjectLockConfigurationObjectLockRule

    DefaultRetentions 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 []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 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 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 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 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

    DeletemarkerReplicationStatus bool
    (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
    DestinationBucketCrn string
    (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
    RuleId string
    (string) The rule id.
    DeletemarkerReplicationStatus bool
    (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
    DestinationBucketCrn string
    (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
    RuleId string
    (string) The rule id.
    deletemarkerReplicationStatus Boolean
    (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
    destinationBucketCrn String
    (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
    ruleId String
    (string) The rule id.
    deletemarkerReplicationStatus boolean
    (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
    destinationBucketCrn string
    (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
    ruleId string
    (string) The rule id.
    deletemarker_replication_status bool
    (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
    destination_bucket_crn str
    (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.
    deletemarkerReplicationStatus Boolean
    (bool) Specifies whether Object storage replicates delete markers. Specify true for Enabling it or false for Disabling it.
    destinationBucketCrn String
    (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
    ruleId 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

    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

    HostName string
    Protocol string
    HostName string
    Protocol string
    hostName String
    protocol String
    hostName string
    protocol string
    hostName String
    protocol String

    GetCosBucketWebsiteConfigurationRoutingRule

    GetCosBucketWebsiteConfigurationRoutingRuleCondition

    GetCosBucketWebsiteConfigurationRoutingRuleRedirect

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud