Skip to main content

credential_operations

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

Overview

Namecredential_operations
TypeResource
Idazure.data_factory.credential_operations

Fields

The following fields are returned by SELECT queries:

OK.

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name.
etagstringEtag identifies change in the resource.
propertiesobjectProperties of credentials.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, factoryName, credentialNameapi-version, If-None-MatchGets a credential.
list_by_factoryselectsubscriptionId, resourceGroupName, factoryNameapi-versionList credentials.
create_or_updateinsertsubscriptionId, resourceGroupName, factoryName, credentialName, data__propertiesapi-version, If-MatchCreates or updates a credential.
deletedeletesubscriptionId, resourceGroupName, factoryName, credentialNameapi-versionDeletes a credential.

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
credentialNamestringCredential name
factoryNamestringThe factory name.
resourceGroupNamestringThe resource group name.
subscriptionIdstringThe subscription identifier.
If-MatchstringETag of the credential entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
If-None-MatchstringETag of the credential entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
api-versionstringThe API version.

SELECT examples

Gets a credential.

SELECT
id,
name,
etag,
properties,
type
FROM azure.data_factory.credential_operations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND factoryName = '{{ factoryName }}' -- required
AND credentialName = '{{ credentialName }}' -- required
AND api-version = '{{ api-version }}'
AND If-None-Match = '{{ If-None-Match }}'
;

INSERT examples

Creates or updates a credential.

INSERT INTO azure.data_factory.credential_operations (
data__properties,
subscriptionId,
resourceGroupName,
factoryName,
credentialName,
api-version,
If-Match
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ factoryName }}',
'{{ credentialName }}',
'{{ api-version }}',
'{{ If-Match }}'
RETURNING
id,
name,
etag,
properties,
type
;

DELETE examples

Deletes a credential.

DELETE FROM azure.data_factory.credential_operations
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND factoryName = '{{ factoryName }}' --required
AND credentialName = '{{ credentialName }}' --required
AND api-version = '{{ api-version }}'
;