@azure/arm-security
Version:
A generated SDK for SecurityCenter.
37 lines (34 loc) • 1.27 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 { PagedAsyncIterableIterator } from "@azure/core-paging";
import {
SecureScoreControlDetails,
SecureScoreControlsListBySecureScoreOptionalParams,
SecureScoreControlsListOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a SecureScoreControls. */
export interface SecureScoreControls {
/**
* Get all security controls for a specific initiative within a scope
* @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in the
* sample request below.
* @param options The options parameters.
*/
listBySecureScore(
secureScoreName: string,
options?: SecureScoreControlsListBySecureScoreOptionalParams
): PagedAsyncIterableIterator<SecureScoreControlDetails>;
/**
* Get all security controls within a scope
* @param options The options parameters.
*/
list(
options?: SecureScoreControlsListOptionalParams
): PagedAsyncIterableIterator<SecureScoreControlDetails>;
}