Partilhar via


ArmSecurityCenterModelFactory.SecurityAssessmentCreateOrUpdateContent Método

Definição

Inicializa uma nova instância de SecurityAssessmentCreateOrUpdateContent.

public static Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentCreateOrUpdateContent SecurityAssessmentCreateOrUpdateContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityCenter.Models.SecurityCenterResourceDetails resourceDetails = default, string displayName = default, System.Collections.Generic.IDictionary<string,string> additionalData = default, Uri linksAzurePortalUri = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties metadata = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentPartner partnersData = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatus status = default);
static member SecurityAssessmentCreateOrUpdateContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.SecurityCenter.Models.SecurityCenterResourceDetails * string * System.Collections.Generic.IDictionary<string, string> * Uri * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentPartner * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatus -> Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentCreateOrUpdateContent
Public Shared Function SecurityAssessmentCreateOrUpdateContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional resourceDetails As SecurityCenterResourceDetails = Nothing, Optional displayName As String = Nothing, Optional additionalData As IDictionary(Of String, String) = Nothing, Optional linksAzurePortalUri As Uri = Nothing, Optional metadata As SecurityAssessmentMetadataProperties = Nothing, Optional partnersData As SecurityAssessmentPartner = Nothing, Optional status As SecurityAssessmentStatus = Nothing) As SecurityAssessmentCreateOrUpdateContent

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

resourceDetails
SecurityCenterResourceDetails

Detalhes do recurso que foi avaliado Observe SecurityCenterResourceDetails que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem AzureResourceDetails(String), OnPremiseResourceDetails e OnPremiseSqlResourceDetails.

displayName
String

Nome de exibição amigável da avaliação.

additionalData
IDictionary<String,String>

Dados adicionais sobre a avaliação.

linksAzurePortalUri
Uri

Links relevantes para a avaliação.

metadata
SecurityAssessmentMetadataProperties

Descreve as propriedades de metadados de avaliação.

partnersData
SecurityAssessmentPartner

Dados referentes à integração de parceiros de terceiros.

status
SecurityAssessmentStatus

O resultado da avaliação.

Retornos

Uma nova SecurityAssessmentCreateOrUpdateContent instância para simulação.

Aplica-se a