Share via


ServerVulnerabilityAssessmentOperationsExtensions.GetAsync Method

Definition

Gets a server vulnerability assessment onboarding statuses on a given resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.ServerVulnerabilityAssessment> GetAsync (this Microsoft.Azure.Management.Security.IServerVulnerabilityAssessmentOperations operations, string resourceGroupName, string resourceNamespace, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Security.IServerVulnerabilityAssessmentOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.ServerVulnerabilityAssessment>
<Extension()>
Public Function GetAsync (operations As IServerVulnerabilityAssessmentOperations, resourceGroupName As String, resourceNamespace As String, resourceType As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServerVulnerabilityAssessment)

Parameters

operations
IServerVulnerabilityAssessmentOperations

The operations group for this extension method.

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to