credential_operations
Creates, updates, deletes, gets or lists a credential_operations
resource.
Overview
Name | credential_operations |
Type | Resource |
Id | azure.data_factory.credential_operations |
Fields
- vw_credential_operations
- credential_operations
Name | Datatype | Description |
---|---|---|
id | text | The resource identifier. |
name | text | The resource name. |
description | text | field from the properties object |
annotations | text | field from the properties object |
credentialName | text | field from the properties object |
etag | text | Etag identifies change in the resource. |
factoryName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The resource type. |
Name | Datatype | Description |
---|---|---|
id | string | The resource identifier. |
name | string | The resource name. |
etag | string | Etag identifies change in the resource. |
properties | object | The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. |
type | string | The resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | credentialName, factoryName, resourceGroupName, subscriptionId | Gets a credential. |
list_by_factory | SELECT | factoryName, resourceGroupName, subscriptionId | List credentials. |
create_or_update | INSERT | credentialName, factoryName, resourceGroupName, subscriptionId, data__properties | Creates or updates a credential. |
delete | DELETE | credentialName, factoryName, resourceGroupName, subscriptionId | Deletes a credential. |
SELECT
examples
List credentials.
- vw_credential_operations
- credential_operations
SELECT
id,
name,
description,
annotations,
credentialName,
etag,
factoryName,
resourceGroupName,
subscriptionId,
type
FROM azure.data_factory.vw_credential_operations
WHERE factoryName = '{{ factoryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
properties,
type
FROM azure.data_factory.credential_operations
WHERE factoryName = '{{ factoryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new credential_operations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.data_factory.credential_operations (
credentialName,
factoryName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ credentialName }}',
'{{ factoryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: etag
value: string
- name: properties
value:
- name: type
value: string
- name: description
value: string
- name: annotations
value:
- object
DELETE
example
Deletes the specified credential_operations
resource.
/*+ delete */
DELETE FROM azure.data_factory.credential_operations
WHERE credentialName = '{{ credentialName }}'
AND factoryName = '{{ factoryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';