{
  "parameters": {
    "api-version": "2018-06-01",
    "factoryName": "exampleFactoryName",
    "ifMatch": null,
    "linkedService": {
      "properties": {
        "type": "AzureStorage",
        "description": "Example description",
        "typeProperties": {
          "connectionString": {
            "type": "SecureString",
            "value": "DefaultEndpointsProtocol=https;AccountName=examplestorageaccount;AccountKey=<storage key>"
          }
        }
      }
    },
    "linkedServiceName": "exampleLinkedService",
    "resourceGroupName": "exampleResourceGroup",
    "subscriptionId": "12345678-1234-1234-1234-123456789012"
  },
  "responses": {
    "200": {
      "body": {
        "name": "exampleLinkedService",
        "type": "Microsoft.DataFactory/factories/linkedservices",
        "etag": "0a0064d4-0000-0000-0000-5b245bd00000",
        "id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/linkedservices/exampleLinkedService",
        "properties": {
          "type": "AzureStorage",
          "description": "Example description",
          "typeProperties": {
            "connectionString": {
              "type": "SecureString",
              "value": "**********"
            },
            "encryptedCredential": "ew0KICAiVmVyc2lvbiI6ICIyMDE3LTExLTMwIiwNCiAgIlByb3RlY3Rpb25Nb2RlIjogIktleSIsDQogICJTZWNyZXRDb250ZW50VHlwZSI6ICJQbGFpbnRleHQiLA0KICAiQ3JlZGVudGlhbElkIjogIkRGLURPR0ZPT0QtWUFOWkhBTkctV1VfMGI2M2EyMmYtMGEzNC00NDg2LWIzMDktNzM0NTlkODUyY2Q1Ig0KfQ=="
          }
        }
      },
      "headers": {
        "Date": "Sat, 16 Jun 2018 00:37:36 GMT",
        "X-Content-Type-Options": "nosniff",
        "x-ms-correlation-request-id": "53ad9761-ecdf-43ed-916f-878a5fb92cb0",
        "x-ms-ratelimit-remaining-subscription-writes": "1195",
        "x-ms-request-id": "53ad9761-ecdf-43ed-916f-878a5fb92cb0"
      }
    }
  },
  "operationId": "LinkedServices_CreateOrUpdate",
  "title": "LinkedServices_Update"
}
