UNPKG

@azure/arm-security

Version:
52 lines 3.87 kB
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { AdaptiveNetworkHardening, AdaptiveNetworkHardeningsListByExtendedResourceOptionalParams, AdaptiveNetworkHardeningsGetOptionalParams, AdaptiveNetworkHardeningsGetResponse, AdaptiveNetworkHardeningEnforceRequest, AdaptiveNetworkHardeningsEnforceOptionalParams } from "../models"; /** Interface representing a AdaptiveNetworkHardenings. */ export interface AdaptiveNetworkHardenings { /** * Gets a list of Adaptive Network Hardenings resources in scope of an extended resource. * @param resourceGroupName The name of the resource group within the user's subscription. The name is * case insensitive. * @param resourceNamespace The Namespace of the resource. * @param resourceType The type of the resource. * @param resourceName Name of the resource. * @param options The options parameters. */ listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: AdaptiveNetworkHardeningsListByExtendedResourceOptionalParams): PagedAsyncIterableIterator<AdaptiveNetworkHardening>; /** * Gets a single Adaptive Network Hardening resource * @param resourceGroupName The name of the resource group within the user's subscription. The name is * case insensitive. * @param resourceNamespace The Namespace of the resource. * @param resourceType The type of the resource. * @param resourceName Name of the resource. * @param adaptiveNetworkHardeningResourceName The name of the Adaptive Network Hardening resource. * @param options The options parameters. */ get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, adaptiveNetworkHardeningResourceName: string, options?: AdaptiveNetworkHardeningsGetOptionalParams): Promise<AdaptiveNetworkHardeningsGetResponse>; /** * Enforces the given rules on the NSG(s) listed in the request * @param resourceGroupName The name of the resource group within the user's subscription. The name is * case insensitive. * @param resourceNamespace The Namespace of the resource. * @param resourceType The type of the resource. * @param resourceName Name of the resource. * @param adaptiveNetworkHardeningResourceName The name of the Adaptive Network Hardening resource. * @param body * @param options The options parameters. */ beginEnforce(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, adaptiveNetworkHardeningResourceName: string, body: AdaptiveNetworkHardeningEnforceRequest, options?: AdaptiveNetworkHardeningsEnforceOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; /** * Enforces the given rules on the NSG(s) listed in the request * @param resourceGroupName The name of the resource group within the user's subscription. The name is * case insensitive. * @param resourceNamespace The Namespace of the resource. * @param resourceType The type of the resource. * @param resourceName Name of the resource. * @param adaptiveNetworkHardeningResourceName The name of the Adaptive Network Hardening resource. * @param body * @param options The options parameters. */ beginEnforceAndWait(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, adaptiveNetworkHardeningResourceName: string, body: AdaptiveNetworkHardeningEnforceRequest, options?: AdaptiveNetworkHardeningsEnforceOptionalParams): Promise<void>; } //# sourceMappingURL=adaptiveNetworkHardenings.d.ts.map