@azure/arm-security
Version:
A generated SDK for SecurityCenter.
40 lines (37 loc) • 1.4 kB
text/typescript
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import {
AdvancedThreatProtectionGetOptionalParams,
AdvancedThreatProtectionGetResponse,
AdvancedThreatProtectionSetting,
AdvancedThreatProtectionCreateOptionalParams,
AdvancedThreatProtectionCreateResponse
} from "../models";
/** Interface representing a AdvancedThreatProtection. */
export interface AdvancedThreatProtection {
/**
* Gets the Advanced Threat Protection settings for the specified resource.
* @param resourceId The identifier of the resource.
* @param options The options parameters.
*/
get(
resourceId: string,
options?: AdvancedThreatProtectionGetOptionalParams
): Promise<AdvancedThreatProtectionGetResponse>;
/**
* Creates or updates the Advanced Threat Protection settings on a specified resource.
* @param resourceId The identifier of the resource.
* @param advancedThreatProtectionSetting Advanced Threat Protection Settings
* @param options The options parameters.
*/
create(
resourceId: string,
advancedThreatProtectionSetting: AdvancedThreatProtectionSetting,
options?: AdvancedThreatProtectionCreateOptionalParams
): Promise<AdvancedThreatProtectionCreateResponse>;
}