Skip to main content

average_carbon_emissions

Creates, updates, deletes, gets or lists an average_carbon_emissions resource.

Overview​

Nameaverage_carbon_emissions
TypeResource
Idoci.usage.average_carbon_emissions

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
request_average_carbon_emissionexecskuPartNumber, regionopc-request-idReturns the average carbon emissions summary by SKU.<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)
skuPartNumberstringThe SKU part number.
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

Lifecycle Methods​

Returns the average carbon emissions summary by SKU.<br />

EXEC oci.usage.average_carbon_emissions.request_average_carbon_emission
@skuPartNumber='{{ skuPartNumber }}' --required,
@region='{{ region }}' --required,
@opc-request-id='{{ opc-request-id }}'
;