ArmComputeModelFactory.GalleryImageVersionPolicyViolation 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.
Initializes a new instance of 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
Parameters
Describes the nature of the policy violation.
- details
- String
Describes specific details about why this policy violation was reported.
Returns
A new GalleryImageVersionPolicyViolation instance for mocking.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET