CreateBucketDetails

Details for creating a new bucket.

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Properties

Name Type Description
name string The name of the bucket.
compartmentId string The OCID of the compartment.
publicAccessType string The public access type.
storageTier string The storage tier type.
objectEventsEnabled boolean Whether events are emitted for object state changes.
versioning string The versioning status.
freeformTags object
View JSON Schema on GitHub

JSON Schema

oracle-cloud-createbucketdetails-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateBucketDetails",
  "title": "CreateBucketDetails",
  "type": "object",
  "description": "Details for creating a new bucket.",
  "required": [
    "name",
    "compartmentId"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the bucket.",
      "example": "my-new-bucket"
    },
    "compartmentId": {
      "type": "string",
      "description": "The OCID of the compartment.",
      "example": "ocid1.compartment.oc1..abcdefg123456"
    },
    "publicAccessType": {
      "type": "string",
      "description": "The public access type.",
      "enum": [
        "NoPublicAccess",
        "ObjectRead",
        "ObjectReadWithoutList"
      ],
      "default": "NoPublicAccess",
      "example": "NoPublicAccess"
    },
    "storageTier": {
      "type": "string",
      "description": "The storage tier type.",
      "enum": [
        "Standard",
        "Archive"
      ],
      "default": "Standard",
      "example": "Standard"
    },
    "objectEventsEnabled": {
      "type": "boolean",
      "description": "Whether events are emitted for object state changes.",
      "default": false,
      "example": false
    },
    "versioning": {
      "type": "string",
      "description": "The versioning status.",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "example": "Enabled"
    },
    "freeformTags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "key1": "value1"
      }
    }
  }
}