UNPKG

@azure/arm-security

Version:
45 lines (42 loc) 1.52 kB
/* * 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 { Compliance, CompliancesListOptionalParams, CompliancesGetOptionalParams, CompliancesGetResponse } from "../models"; /// <reference lib="esnext.asynciterable" /> /** Interface representing a Compliances. */ export interface Compliances { /** * The Compliance scores of the specific management group. * @param scope Scope of the query, can be subscription * (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group * (/providers/Microsoft.Management/managementGroups/mgName). * @param options The options parameters. */ list( scope: string, options?: CompliancesListOptionalParams ): PagedAsyncIterableIterator<Compliance>; /** * Details of a specific Compliance. * @param scope Scope of the query, can be subscription * (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group * (/providers/Microsoft.Management/managementGroups/mgName). * @param complianceName name of the Compliance * @param options The options parameters. */ get( scope: string, complianceName: string, options?: CompliancesGetOptionalParams ): Promise<CompliancesGetResponse>; }