az datafactory linked-service

Datafactory linked-service.

Commands

az datafactory linked-service create

Creates or updates a linked service.

az datafactory linked-service delete

Deletes a linked service.

az datafactory linked-service list

Lists linked services.

az datafactory linked-service show

Gets a linked service.

az datafactory linked-service create

Creates or updates a linked service.

az datafactory linked-service create --factory-name
                                     --name
                                     --properties
                                     --resource-group
                                     [--if-match]

Examples

LinkedServices_Create

az datafactory linked-service create --factory-name "myFactoryName" --properties "{\"type\":\"AzureStorage\",\"typeProperties\":{\"connectionString\":{\"type\":\"SecureString\",\"value\":\"DefaultEndpointsProtocol=https;AccountName=examplestorageaccount;AccountKey=<storage key>\"}}}" --name "myLinkedService" --resource-group "myResourceGroup"

Required Parameters

--factory-name

The factory name.

--name -n

The linked service name.

--properties

Properties of linked service. Expected value: json-string/@json-file.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--if-match

ETag of the linkedService entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

az datafactory linked-service delete

Deletes a linked service.

az datafactory linked-service delete --factory-name
                                     --name
                                     --resource-group

Examples

LinkedServices_Delete

az datafactory linked-service delete --factory-name "myFactoryName" --name "myLinkedService" --resource-group "myResourceGroup"

Required Parameters

--factory-name

The factory name.

--name -n

The linked service name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az datafactory linked-service list

Lists linked services.

az datafactory linked-service list --factory-name
                                   --resource-group

Examples

LinkedServices_ListByFactory

az datafactory linked-service list --factory-name "myFactoryName" --resource-group "myResourceGroup"

Required Parameters

--factory-name

The factory name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az datafactory linked-service show

Gets a linked service.

az datafactory linked-service show --factory-name
                                   --name
                                   --resource-group
                                   [--if-none-match]

Examples

LinkedServices_Get

az datafactory linked-service show --factory-name "myFactoryName" --name "myLinkedService" --resource-group "myResourceGroup"

Required Parameters

--factory-name

The factory name.

--name -n

The linked service name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--if-none-match

ETag of the linked service 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.