AdvancedThreatProtectionsClient Interface

public interface AdvancedThreatProtectionsClient

An instance of this class provides access to all the operations defined in AdvancedThreatProtectionsClient.

Method Summary

Modifier and Type Method and Description
abstract AdvancedThreatProtectionSettingInner create(String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting)

Creates or updates the Advanced Threat Protection settings on a specified resource.

abstract Response<AdvancedThreatProtectionSettingInner> createWithResponse(String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting, Context context)

Creates or updates the Advanced Threat Protection settings on a specified resource.

abstract AdvancedThreatProtectionSettingInner get(String resourceId)

Gets the Advanced Threat Protection settings for the specified resource.

abstract Response<AdvancedThreatProtectionSettingInner> getWithResponse(String resourceId, Context context)

Gets the Advanced Threat Protection settings for the specified resource.

Method Details

create

public abstract AdvancedThreatProtectionSettingInner create(String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting)

Creates or updates the Advanced Threat Protection settings on a specified resource.

Parameters:

resourceId - The identifier of the resource.
advancedThreatProtectionSetting - Advanced Threat Protection Settings.

Returns:

the Advanced Threat Protection resource.

createWithResponse

public abstract Response createWithResponse(String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting, Context context)

Creates or updates the Advanced Threat Protection settings on a specified resource.

Parameters:

resourceId - The identifier of the resource.
advancedThreatProtectionSetting - Advanced Threat Protection Settings.
context - The context to associate with this operation.

Returns:

the Advanced Threat Protection resource along with Response<T>.

get

public abstract AdvancedThreatProtectionSettingInner get(String resourceId)

Gets the Advanced Threat Protection settings for the specified resource.

Parameters:

resourceId - The identifier of the resource.

Returns:

the Advanced Threat Protection settings for the specified resource.

getWithResponse

public abstract Response getWithResponse(String resourceId, Context context)

Gets the Advanced Threat Protection settings for the specified resource.

Parameters:

resourceId - The identifier of the resource.
context - The context to associate with this operation.

Returns:

the Advanced Threat Protection settings for the specified resource along with Response<T>.

Applies to

Azure SDK for Java

Preview