Skip to main content

template_logos

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

Overview​

Nametemplate_logos
TypeResource
Idoci.resource_manager.template_logos

Fields​

The following fields are returned by SELECT queries:

Terraform logo file.

NameDatatypeDescription

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselecttemplateId, regionopc-request-idReturns the Terraform logo file in .logo format for the specified template.<br />Returns an error if no logo file is found.<br />For more information, see<br />[Getting a Private Template's Logo](/iaas/Content/ResourceManager/Tasks/get-template-logo.htm).<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
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)
templateIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the template.
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

SELECT examples​

Returns the Terraform logo file in .logo format for the specified template.<br />Returns an error if no logo file is found.<br />For more information, see<br />[Getting a Private Template's Logo](/iaas/Content/ResourceManager/Tasks/get-template-logo.htm).<br />

SELECT
*
FROM oci.resource_manager.template_logos
WHERE templateId = '{{ templateId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;