Skip to content

applicationgateway setup #3593

Discussion options

You must be logged in to vote

You can use the ternary operator to establish the if condition and provide a null where appropriate.

  sslCertificate: {
    id: (contains(httplisteners, 'sslCertificate') ? resourceId('Microsoft.Network/applicationGateways/sslCertificates', appgwname, httplisteners.sslCertificate) : json('null'))
  }

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@thulasidassrinivasan
Comment options

@brwilkinson
Comment options

@thulasidassrinivasan
Comment options

@brwilkinson
Comment options

@thulasidassrinivasan
Comment options

Answer selected by thulasidassrinivasan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants