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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET