Skip to main content

settings_by_scopes

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

Overview

Namesettings_by_scopes
TypeResource
Idazure.cost_management.settings_by_scopes

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
create_or_updateinsertscope, type, data__kindCreate or update a setting within the given scope.

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
scopestringThe scope associated with this setting. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billing profile scope.
typestringSetting type.

INSERT examples

Create or update a setting within the given scope.

INSERT INTO azure.cost_management.settings_by_scopes (
data__kind,
scope,
type
)
SELECT
'{{ kind }}' /* required */,
'{{ scope }}',
'{{ type }}'
RETURNING
kind
;