你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServerVulnerabilityAssessmentOperationsExtensions.CreateOrUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it
public static Microsoft.Azure.Management.Security.Models.ServerVulnerabilityAssessment CreateOrUpdate (this Microsoft.Azure.Management.Security.IServerVulnerabilityAssessmentOperations operations, string resourceGroupName, string resourceNamespace, string resourceType, string resourceName);
static member CreateOrUpdate : Microsoft.Azure.Management.Security.IServerVulnerabilityAssessmentOperations * string * string * string * string -> Microsoft.Azure.Management.Security.Models.ServerVulnerabilityAssessment
<Extension()>
Public Function CreateOrUpdate (operations As IServerVulnerabilityAssessmentOperations, resourceGroupName As String, resourceNamespace As String, resourceType As String, resourceName As String) As 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.