title: Azure functions local.settings.json represented in appsettings.json for a ServiceBusTrigger
body: <p>I currently have an azure function using the ServiceBusTrigger binding</p>
  
  <pre><code> [ServiceBusTrigger("%TopicName%", "%SubscripionName%", Connection = "MyConnection")]
           string  catclogueEventMsgs, ILogger log, ExecutionContext context)
  </code></pre>
  
  <p>which uses this local.settings.json file</p>
  
  <pre><code>   "Values": {
               …
      "MyConnection": "Endpoint=sb://testxxxxxxxxxxxxxxxxxx
      "SubscriptionName": "testsubscriptionName"
      "TopicName": "testtopicName",
    }
  </code></pre>
  
  <p>How do I represent this in the appsettings.json file. Will it be like the below?</p>
  
  <pre><code>   "Values": {
      "MyConnection": "Endpoint=sb://testxxxxxxxxxxxxxxxxxx
      "SubscriptionName": "testsubscriptionName"
      "TopicName": "testtopicName",
    }
  </code></pre>
  
  <p>Instead of using a “Values” object can I use eg “MySubs” object like the below?</p>
  
  <pre><code>   "MySubs": {
      "MyConnection": "Endpoint=sb://testxxxxxxxxxxxxxxxxxx
      "SubscriptionName": "testsubscriptionName"
      "TopicName": "testtopicName",
    }
  </code></pre>
  
  <p>If its possible to use the above settings, how do I represent this in the ServiceBusTrigger binding? would i change it to this?</p>
  
  <pre><code> [ServiceBusTrigger("%MySubs.TopicName%", "%MySubs.SubscripionName%", Connection = "MySubs.MyConnection")]
           string  catclogueEventMsgs, ILogger log, ExecutionContext context)
  </code></pre>