AdvancedThreatProtectionResource.Get(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a server's Advanced Threat Protection state
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
- Operation Id: AdvancedThreatProtectionSettings_Get
- Default Api Version: 2023-12-30
- Resource: AdvancedThreatProtectionResource
public virtual Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.AdvancedThreatProtectionResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.AdvancedThreatProtectionResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.AdvancedThreatProtectionResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of AdvancedThreatProtectionResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.