@Anagh Bhatt Posting as Answer due to character limit. Are you using Azure or In-built service bus trigger? When you create the workflow there would be workflow.json file and it will define your workflow and another i.e. connection.json that you have shared will have the connection details for your standard logic app.
workflow.json
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {},
"triggers": {
"When_a_message_is_received_in_a_queue_(peek-lock)": {
"type": "ApiConnection",
"inputs": {
"host": {
"connection": {
"referenceName": "servicebus"
}
},
"method": "get",
"path": "/@{encodeURIComponent(encodeURIComponent('cxtest'))}/messages/head/peek",
"queries": {
"queueType": "Main",
"sessionId": "None"
}
},
"recurrence": {
"frequency": "Minute",
"interval": 15
}
}
},
"contentVersion": "1.0.0.0",
"outputs": {}
},
"kind": "Stateful"
}
connection.json
{
"managedApiConnections": {
"servicebus": {
"api": {
"id": "/subscriptions/5a975eab-234f-40cb-aa31-1c4c0344477c/providers/Microsoft.Web/locations/northcentralus/managedApis/servicebus"
},
"connection": {
"id": "/subscriptions/subid/resourceGroups/resourcegroup/providers/Microsoft.Web/connections/servicebus"
},
"connectionRuntimeUrl": "https://dc7081be1cd1508c.17.common.logic-northcentralus.azure-apihub.net/apim/servicebus/guidid/",
"authentication": {
"type": "Raw",
"scheme": "Key",
"parameter": "@appsetting('servicebus-connectionKey')"
}
}
}
}
To learn more about the code structure and creating standard workflow using VS code you can refer to this document.