ArmComputeModelFactory.GalleryImageVersionSafetyProfile 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 GalleryImageVersionSafetyProfile.
public static Azure.ResourceManager.Compute.Models.GalleryImageVersionSafetyProfile GalleryImageVersionSafetyProfile (bool? allowDeletionOfReplicatedLocations = default, bool? isReportedForPolicyViolation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.GalleryImageVersionPolicyViolation> policyViolations = default);
static member GalleryImageVersionSafetyProfile : Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.Compute.Models.GalleryImageVersionPolicyViolation> -> Azure.ResourceManager.Compute.Models.GalleryImageVersionSafetyProfile
Public Shared Function GalleryImageVersionSafetyProfile (Optional allowDeletionOfReplicatedLocations As Nullable(Of Boolean) = Nothing, Optional isReportedForPolicyViolation As Nullable(Of Boolean) = Nothing, Optional policyViolations As IEnumerable(Of GalleryImageVersionPolicyViolation) = Nothing) As GalleryImageVersionSafetyProfile
Parameters
Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.
Indicates whether this image has been reported as violating Microsoft's policies.
- policyViolations
- IEnumerable<GalleryImageVersionPolicyViolation>
A list of Policy Violations that have been reported for this Gallery Image Version.
Returns
A new GalleryImageVersionSafetyProfile instance for mocking.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET