共用方式為


MockableSecurityCenterResourceGroupResource.GetServerVulnerabilityAssessments Method

Definition

Gets a collection of ServerVulnerabilityAssessmentResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentCollection GetServerVulnerabilityAssessments (string resourceNamespace, string resourceType, string resourceName);
abstract member GetServerVulnerabilityAssessments : string * string * string -> Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentCollection
override this.GetServerVulnerabilityAssessments : string * string * string -> Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentCollection
Public Overridable Function GetServerVulnerabilityAssessments (resourceNamespace As String, resourceType As String, resourceName As String) As ServerVulnerabilityAssessmentCollection

Parameters

resourceNamespace
String

The Namespace of the resource.

resourceType
String

The type of the resource.

resourceName
String

Name of the resource.

Returns

An object representing collection of ServerVulnerabilityAssessmentResources and their operations over a ServerVulnerabilityAssessmentResource.

Exceptions

resourceNamespace, resourceType or resourceName is null.

resourceNamespace, resourceType or resourceName is an empty string, and was expected to be non-empty.

Applies to