Skip to main content

global_parameters

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

Overview

Nameglobal_parameters
TypeResource
Idazure.data_factory.global_parameters

Fields

NameDatatypeDescription
idtextThe resource identifier.
nametextThe resource name.
etagtextEtag identifies change in the resource.
factoryNametextfield from the properties object
globalParameterNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTfactoryName, globalParameterName, resourceGroupName, subscriptionIdGets a Global parameter
list_by_factorySELECTfactoryName, resourceGroupName, subscriptionIdLists Global parameters
create_or_updateINSERTfactoryName, globalParameterName, resourceGroupName, subscriptionId, data__propertiesCreates or updates a Global parameter
deleteDELETEfactoryName, globalParameterName, resourceGroupName, subscriptionIdDeletes a Global parameter

SELECT examples

Lists Global parameters

SELECT
id,
name,
etag,
factoryName,
globalParameterName,
resourceGroupName,
subscriptionId,
type
FROM azure.data_factory.vw_global_parameters
WHERE factoryName = '{{ factoryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.data_factory.global_parameters (
factoryName,
globalParameterName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ factoryName }}',
'{{ globalParameterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified global_parameters resource.

/*+ delete */
DELETE FROM azure.data_factory.global_parameters
WHERE factoryName = '{{ factoryName }}'
AND globalParameterName = '{{ globalParameterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';