Skip to main content

standard_tag_templates

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

Overview​

Namestandard_tag_templates
TypeResource
Idoci.identity.standard_tag_templates

Fields​

The following fields are returned by SELECT queries:

Requested standard tag namespace template has been retrieved.

NameDatatypeDescription
descriptionstringThe default description of the tag namespace that users can use to create the tag namespace
standardTagNamespaceNamestringThe reserved name of this standard tag namespace
statusstringThe status of the standard tag namespace
tagDefinitionTemplatesarrayThe template of the tag definition. This object includes necessary details to create the provided standard tag definition.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcompartmentId, standardTagNamespaceName, regionRetrieve the standard tag namespace template given the standard tag namespace name.<br />

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.

NameDatatypeDescription
compartmentIdstringThe OCID of the compartment (remember that the tenancy is simply the root compartment).
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
standardTagNamespaceNamestringThe name of the standard tag namespace tempate that is requested

SELECT examples​

Retrieve the standard tag namespace template given the standard tag namespace name.<br />

SELECT
description,
standardTagNamespaceName,
status,
tagDefinitionTemplates
FROM oci.identity.standard_tag_templates
WHERE compartmentId = '{{ compartmentId }}' -- required
AND standardTagNamespaceName = '{{ standardTagNamespaceName }}' -- required
AND region = '{{ region }}' -- required
;