UNPKG

@azure/arm-security

Version:
83 lines 5.43 kB
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { AdaptiveNetworkHardenings } from "../operationsInterfaces"; import { SecurityCenter } from "../securityCenter"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { AdaptiveNetworkHardening, AdaptiveNetworkHardeningsListByExtendedResourceOptionalParams, AdaptiveNetworkHardeningsGetOptionalParams, AdaptiveNetworkHardeningsGetResponse, AdaptiveNetworkHardeningEnforceRequest, AdaptiveNetworkHardeningsEnforceOptionalParams } from "../models"; /** Class containing AdaptiveNetworkHardenings operations. */ export declare class AdaptiveNetworkHardeningsImpl implements AdaptiveNetworkHardenings { private readonly client; /** * Initialize a new instance of the class AdaptiveNetworkHardenings class. * @param client Reference to the service client */ constructor(client: SecurityCenter); /** * 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>; private listByExtendedResourcePagingPage; private listByExtendedResourcePagingAll; /** * 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. */ private _listByExtendedResource; /** * 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>; /** * ListByExtendedResourceNext * @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 nextLink The nextLink from the previous successful call to the ListByExtendedResource method. * @param options The options parameters. */ private _listByExtendedResourceNext; } //# sourceMappingURL=adaptiveNetworkHardenings.d.ts.map