MockableSecurityCenterArmClient.GetDefenderForStorageSettingAsync 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.
Gets the Defender for Storage settings for the specified storage account.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.DefenderForStorageSettingResource>> GetDefenderForStorageSettingAsync(Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.SecurityCenter.Models.SettingName settingName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDefenderForStorageSettingAsync : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityCenter.Models.SettingName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.DefenderForStorageSettingResource>>
override this.GetDefenderForStorageSettingAsync : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityCenter.Models.SettingName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.DefenderForStorageSettingResource>>
Public Overridable Function GetDefenderForStorageSettingAsync (scope As ResourceIdentifier, settingName As SettingName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DefenderForStorageSettingResource))
Parameters
- scope
- ResourceIdentifier
The scope of the resource collection to get.
- settingName
- SettingName
The defender for storage setting name.
- cancellationToken
- CancellationToken
The cancellation token to use.