Skip to main content

settings

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

Overview

Namesettings
TypeResource
Idazure.cost_management.settings

Fields

NameDatatypeDescription
kindstringSpecifies the kind of settings.

Methods

NameAccessible byRequired ParamsDescription
get_by_scopeSELECTscope, typeGet the setting from the given scope by name.
listSELECTscopeList all cost management settings in the requested scope.
delete_by_scopeDELETEscope, typeDelete a setting within the given scope.

SELECT examples

List all cost management settings in the requested scope.

SELECT
kind
FROM azure.cost_management.settings
WHERE scope = '{{ scope }}';

DELETE example

Deletes the specified settings resource.

/*+ delete */
DELETE FROM azure.cost_management.settings
WHERE scope = '{{ scope }}'
AND type = '{{ type }}';