options
Creates, updates, deletes, gets or lists an options resource.
Overview
| Name | options |
| Type | Resource |
| Id | digitalocean.container_registry.options |
Fields
The following fields are returned by SELECT queries:
- registries_get_options
The response will be a JSON object with a key called options which contains a key called subscription_tiers listing the available tiers.
| Name | Datatype | Description |
|---|---|---|
available_regions | array | |
subscription_tiers | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
registries_get_options | select | This endpoint serves to provide additional information as to which option values are available when creating a container registry. There are multiple subscription tiers available for container registry. Each tier allows a different number of image repositories to be created in your registry, and has a different amount of storage and transfer included. There are multiple regions available for container registry and controls where your data is stored. To list the available options, send a GET request to /v2/registries/options. This is similar to GET /v2/registry/options and exists for backward compatibility. | ||
registry_get_options_legacy | exec | This endpoint serves to provide additional information as to which option values are available when creating a container registry. There are multiple subscription tiers available for container registry. Each tier allows a different number of image repositories to be created in your registry, and has a different amount of storage and transfer included. There are multiple regions available for container registry and controls where your data is stored. To list the available options, send a GET request to /v2/registry/options. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|
SELECT examples
- registries_get_options
This endpoint serves to provide additional information as to which option values are available when creating a container registry.
There are multiple subscription tiers available for container registry. Each tier allows a different number of image repositories to be created in your registry, and has a different amount of storage and transfer included.
There are multiple regions available for container registry and controls where your data is stored.
To list the available options, send a GET request to /v2/registries/options. This is similar to GET /v2/registry/options and exists for backward compatibility.
SELECT
available_regions,
subscription_tiers
FROM digitalocean.container_registry.options
;
Lifecycle Methods
- registry_get_options_legacy
This endpoint serves to provide additional information as to which option values are available when creating a container registry.
There are multiple subscription tiers available for container registry. Each tier allows a different number of image repositories to be created in your registry, and has a different amount of storage and transfer included.
There are multiple regions available for container registry and controls where your data is stored.
To list the available options, send a GET request to /v2/registry/options.
EXEC digitalocean.container_registry.options.registry_get_options_legacy
;