Skip to main content

views_by_scopes

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

Overview

Nameviews_by_scopes
TypeResource
Idazure.cost_management.views_by_scopes

Fields

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

Methods

NameAccessible byRequired ParamsDescription
create_or_updateINSERTscope, viewNameThe operation to create or update a view. Update operation requires latest eTag to be set in the request. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

INSERT example

Use the following StackQL query and manifest file to create a new views_by_scopes resource.

/*+ create */
INSERT INTO azure.cost_management.views_by_scopes (
scope,
viewName,
eTag,
properties
)
SELECT
'{{ scope }}',
'{{ viewName }}',
'{{ eTag }}',
'{{ properties }}'
;