Skip to main content

registry_subscriptions

Creates, updates, deletes, gets or lists a registry_subscriptions resource.

Overview

Nameregistry_subscriptions
TypeResource
Iddigitalocean.container_registry.registry_subscriptions

Fields

NameDatatypeDescription
column_anon``

Methods

NameAccessible byRequired ParamsDescription
registry_get_subscriptionSELECTA subscription is automatically created when you configure your container registry. To get information about your subscription, send a GET request to /v2/registry/subscription.
registry_update_subscriptionUPDATEAfter creating your registry, you can switch to a different subscription tier to better suit your needs. To do this, send a POST request to /v2/registry/subscription.

SELECT examples

A subscription is automatically created when you configure your container registry. To get information about your subscription, send a GET request to /v2/registry/subscription.

SELECT
column_anon
FROM digitalocean.container_registry.registry_subscriptions
;

UPDATE example

Updates a registry_subscriptions resource.

/*+ update */
UPDATE digitalocean.container_registry.registry_subscriptions
SET
tier_slug = '{{ tier_slug }}'
WHERE
;