Condividi tramite


SecurityCenterExtensions.GetAdvancedThreatProtectionSetting Method

Definition

Gets an object representing a AdvancedThreatProtectionSettingResource along with the instance operations that can be performed on it in the ArmClient. MockingTo mock this method, please mock GetAdvancedThreatProtectionSetting(ResourceIdentifier) instead.

public static Azure.ResourceManager.SecurityCenter.AdvancedThreatProtectionSettingResource GetAdvancedThreatProtectionSetting (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetAdvancedThreatProtectionSetting : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SecurityCenter.AdvancedThreatProtectionSettingResource
<Extension()>
Public Function GetAdvancedThreatProtectionSetting (client As ArmClient, scope As ResourceIdentifier) As AdvancedThreatProtectionSettingResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

Returns a AdvancedThreatProtectionSettingResource object.

Exceptions

client is null.

Applies to