Hi @Sonali Dubey,Thank you for using Microsoft Q&A platform and thanks for your question.
As I understand you are trying to create an "Azure Data Lake Storage Gen1 for Cosmos Structured Stream" type linked service in Synapse, but the ARM template is not creating parameters for all the attributes.
To create parameters for all attributes, you can modify the ARM template to include parameters for all attributes. You can add the missing parameters to the "parameters" section of the template. Here is an example of how to add a parameter to the ARM template:
"parameters": {
"accountName": {
"type": "string",
"defaultValue": "accountname",
"metadata": {
"description": "The name of the Azure Data Lake Storage Gen1 account."
}
},
"servicePrincipalId": {
"type": "string",
"metadata": {
"description": "The ID of the service principal used to authenticate with Azure Data Lake Storage Gen1."
}
},
"servicePrincipalKey": {
"type": "securestring",
"metadata": {
"description": "The key of the service principal used to authenticate with Azure Data Lake Storage Gen1."
}
},
"tenant": {
"type": "string",
"metadata": {
"description": "The ID of the tenant used to authenticate with Azure Data Lake Storage Gen1."
}
},
"subscriptionId": {
"type": "string",
"metadata": {
"description": "The ID of the subscription containing the Azure Data Lake Storage Gen1 account."
}
},
"resourceGroupName": {
"type": "string",
"metadata": {
"description": "The name of the resource group containing the Azure Data Lake Storage Gen1 account."
}
}
},
This code will create parameters for all the attributes, including accountName
, servicePrincipalId
, servicePrincipalKey
, tenant
, subscriptionId
, and resourceGroupName
.
You can then reference these parameters in your ARM template using the following syntax:
"typeProperties": {
"accountName": "[parameters('accountName')]",
"servicePrincipalId": "[parameters('servicePrincipalId')]",
"servicePrincipalKey": {
"type": "AzureKeyVaultSecret",
"store": {
"referenceName": "KeyVaultName",
"type": "LinkedServiceReference"
},
"secretName": "secret"
},
"tenant": "[parameters('tenant')]",
"subscriptionId": "[parameters('subscriptionId')]",
"resourceGroupName": "[parameters('resourceGroupName')]"
}
You can modify the values of the parameters as per your requirement. Once you have modified the ARM template, you can use it to create the "Azure Data Lake Storage Gen1 for Cosmos Structured Stream" type linked service in Synapse.
I hope this helps. Let me know if you have any further questions or concerns.