Cloud.GCP.StorageBucket

Cloud.GCP.StorageBucket
Cloud.GCP.StorageBucket

Request schema for provisioning of GCP storage bucket resource

AnyOf
This class requires at least one of the following:
undefined
undefined
JSON Example
{
    "constraints": [
        {
            "tag": "string"
        }
    ],
    "count": 0,
    "kmsKey": {
        "keyName": "string",
        "keyRing": "string",
        "keyRingRegion": "string",
        "kmsProjectId": "string"
    },
    "locationType": "string",
    "locations": [
        "string"
    ],
    "name": "string",
    "publicAccessPrevention": "string",
    "regionId": "string",
    "storageClass": "string",
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ]
}
array of object
constraints
Optional

To target the correct resources, blueprint constraints are matched against infrastructure capability tags. Constraints must include the key name. Options include value, negative[!], and hard or soft requirement.

integer
count
Optional
Constraints: minimum: 0 maximum: 1 default: 1

The number of resource instances to be created.

object
kmsKey
Optional

Properties to configure the KMS encryption key.

string
locationType
Required
Constraints: default: SINGLE_REGION

Defines the type of the location.

Possible values are : SINGLE_REGION, DUAL_REGION, MULTI_REGION,
array of string
locations
Optional

A list of locations if dual-regions is used

string As ^(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)$
name
Required

Machine name.

string
publicAccessPrevention
Optional

The bucket's PAP configuration: 'inherited' and 'enforced' are supported.

Possible values are : ENFORCED, INHERITED,
string
regionId
Optional

The location where you want to store your bucket.

string
storageClass
Required
Constraints: default: STANDARD

Defines how objects in the bucket are stored and determines the cost of storage.

Possible values are : STANDARD, NEARLINE, COLDLINE, ARCHIVE, REGIONAL, MULTI_REGIONAL, DURABLE_REDUCED_AVAILABILITY,
array of object
tags
Optional

Resource categorization, in case-sensitive key names, or in key-value pairs.