@azure/arm-security
Version:
A generated SDK for SecurityCenter.
68 lines (65 loc) • 2.47 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 {
AdaptiveApplicationControlsListOptionalParams,
AdaptiveApplicationControlsListResponse,
AdaptiveApplicationControlsGetOptionalParams,
AdaptiveApplicationControlsGetResponse,
AdaptiveApplicationControlGroup,
AdaptiveApplicationControlsPutOptionalParams,
AdaptiveApplicationControlsPutResponse,
AdaptiveApplicationControlsDeleteOptionalParams
} from "../models";
/** Interface representing a AdaptiveApplicationControls. */
export interface AdaptiveApplicationControls {
/**
* Gets a list of application control machine groups for the subscription.
* @param options The options parameters.
*/
list(
options?: AdaptiveApplicationControlsListOptionalParams
): Promise<AdaptiveApplicationControlsListResponse>;
/**
* Gets an application control VM/server group.
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from
* Get locations
* @param groupName Name of an application control machine group
* @param options The options parameters.
*/
get(
ascLocation: string,
groupName: string,
options?: AdaptiveApplicationControlsGetOptionalParams
): Promise<AdaptiveApplicationControlsGetResponse>;
/**
* Update an application control machine group
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from
* Get locations
* @param groupName Name of an application control machine group
* @param body
* @param options The options parameters.
*/
put(
ascLocation: string,
groupName: string,
body: AdaptiveApplicationControlGroup,
options?: AdaptiveApplicationControlsPutOptionalParams
): Promise<AdaptiveApplicationControlsPutResponse>;
/**
* Delete an application control machine group
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from
* Get locations
* @param groupName Name of an application control machine group
* @param options The options parameters.
*/
delete(
ascLocation: string,
groupName: string,
options?: AdaptiveApplicationControlsDeleteOptionalParams
): Promise<void>;
}