Compartilhar via


ArmComputeModelFactory.GalleryImageVersionPolicyViolation Método

Definição

Inicializa uma nova instância de GalleryImageVersionPolicyViolation.

public static Azure.ResourceManager.Compute.Models.GalleryImageVersionPolicyViolation GalleryImageVersionPolicyViolation (Azure.ResourceManager.Compute.Models.GalleryImageVersionPolicyViolationCategory? category = default, string details = default);
static member GalleryImageVersionPolicyViolation : Nullable<Azure.ResourceManager.Compute.Models.GalleryImageVersionPolicyViolationCategory> * string -> Azure.ResourceManager.Compute.Models.GalleryImageVersionPolicyViolation
Public Shared Function GalleryImageVersionPolicyViolation (Optional category As Nullable(Of GalleryImageVersionPolicyViolationCategory) = Nothing, Optional details As String = Nothing) As GalleryImageVersionPolicyViolation

Parâmetros

category
Nullable<GalleryImageVersionPolicyViolationCategory>

Descreve a natureza da violação da política.

details
String

Descreve detalhes específicos sobre por que essa violação de política foi relatada.

Retornos

Uma nova GalleryImageVersionPolicyViolation instância para zombar.

Aplica-se a