@azure/arm-security
Version:
A generated SDK for SecurityCenter.
65 lines • 4.65 kB
TypeScript
import { ServerVulnerabilityAssessmentOperations } from "../operationsInterfaces";
import { SecurityCenter } from "../securityCenter";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import { ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams, ServerVulnerabilityAssessmentListByExtendedResourceResponse, ServerVulnerabilityAssessmentGetOptionalParams, ServerVulnerabilityAssessmentGetResponse, ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams, ServerVulnerabilityAssessmentCreateOrUpdateResponse, ServerVulnerabilityAssessmentDeleteOptionalParams } from "../models";
/** Class containing ServerVulnerabilityAssessmentOperations operations. */
export declare class ServerVulnerabilityAssessmentOperationsImpl implements ServerVulnerabilityAssessmentOperations {
private readonly client;
/**
* Initialize a new instance of the class ServerVulnerabilityAssessmentOperations class.
* @param client Reference to the service client
*/
constructor(client: SecurityCenter);
/**
* Gets a list of server vulnerability assessment onboarding statuses on a given 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?: ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams): Promise<ServerVulnerabilityAssessmentListByExtendedResourceResponse>;
/**
* Gets a server vulnerability assessment onboarding statuses on a given 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.
*/
get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentGetOptionalParams): Promise<ServerVulnerabilityAssessmentGetResponse>;
/**
* Creating a server vulnerability assessment on a resource, which will onboard a resource for having a
* vulnerability assessment on it
* @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.
*/
createOrUpdate(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams): Promise<ServerVulnerabilityAssessmentCreateOrUpdateResponse>;
/**
* Removing server vulnerability assessment from a 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.
*/
beginDelete(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Removing server vulnerability assessment from a 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.
*/
beginDeleteAndWait(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentDeleteOptionalParams): Promise<void>;
}
//# sourceMappingURL=serverVulnerabilityAssessmentOperations.d.ts.map