question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FeatureReq]AppServices: allow to set MinTlsVersion in the Fluent API

See original GitHub issue

Please allow specifying MinTlsVersion during creation or update of AppServices.

Example:

azure.WebApps.Define("my-new-webapp").WithHttpsOnly().WithMinTlsVersion(SupportedTlsVersions.OneFullStopZero).Create();
webapp.Update().WithMinTlsVersion(SupportedTlsVersions.OneFullStopZero).Appy();

Azure CLI supports it as well:

az webapp config set -g my-group -n my-new-webapp --min-tls-version 1.0

the original issue

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
weidongxu-microsoftcommented, Sep 23, 2022

The lib is to be deprecated, please migrate to https://aka.ms/azsdk/dotnet/mgmt

1reaction
dan93-93commented, Sep 22, 2022

For storage accounts, having this in fluent would be simpler than utilizing the non-fluent StorageAccountCreateParameters You can add properties in fluent like .WithOnlyHttpsTraffic(), so why not TLS?

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Azure Web App - Howto update MinTlsVersion using ...
I am trying to update the MinTlsVersion setting of a Azure Web App using the Fluent Management API: app.Inner.SiteConfig.MinTlsVersion = ...
Read more >
Fluent API - Configuring and Mapping Properties and Types
The annotations only cover a subset of the fluent API ... To explicitly set a property to be a primary key, you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found