ServerVulnerabilityAssessmentOperations interface
Interface representing a ServerVulnerabilityAssessmentOperations.
Methods
begin |
Removing server vulnerability assessment from a resource. |
begin |
Removing server vulnerability assessment from a resource. |
create |
Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it |
get(string, string, string, string, Server |
Gets a server vulnerability assessment onboarding statuses on a given resource. |
list |
Gets a list of server vulnerability assessment onboarding statuses on a given resource. |
Method Details
beginDelete(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)
Removing server vulnerability assessment from a resource.
function beginDelete(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- resourceNamespace
-
string
The Namespace of the resource.
- resourceType
-
string
The type of the resource.
- resourceName
-
string
Name of the resource.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)
Removing server vulnerability assessment from a resource.
function beginDeleteAndWait(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- resourceNamespace
-
string
The Namespace of the resource.
- resourceType
-
string
The type of the resource.
- resourceName
-
string
Name of the resource.
The options parameters.
Returns
Promise<void>
createOrUpdate(string, string, string, string, ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams)
Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it
function createOrUpdate(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams): Promise<ServerVulnerabilityAssessment>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- resourceNamespace
-
string
The Namespace of the resource.
- resourceType
-
string
The type of the resource.
- resourceName
-
string
Name of the resource.
The options parameters.
Returns
Promise<ServerVulnerabilityAssessment>
get(string, string, string, string, ServerVulnerabilityAssessmentGetOptionalParams)
Gets a server vulnerability assessment onboarding statuses on a given resource.
function get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentGetOptionalParams): Promise<ServerVulnerabilityAssessment>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- resourceNamespace
-
string
The Namespace of the resource.
- resourceType
-
string
The type of the resource.
- resourceName
-
string
Name of the resource.
The options parameters.
Returns
Promise<ServerVulnerabilityAssessment>
listByExtendedResource(string, string, string, string, ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams)
Gets a list of server vulnerability assessment onboarding statuses on a given resource.
function listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams): Promise<ServerVulnerabilityAssessmentsList>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- resourceNamespace
-
string
The Namespace of the resource.
- resourceType
-
string
The type of the resource.
- resourceName
-
string
Name of the resource.
The options parameters.
Returns
Promise<ServerVulnerabilityAssessmentsList>