GalleryImageVersionSafetyProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryArtifactSafetyProfileBase - com.
azure. resourcemanager. compute. models. GalleryImageVersionSafetyProfile
- com.
- com.
public final class GalleryImageVersionSafetyProfile
extends GalleryArtifactSafetyProfileBase
This is the safety profile of the Gallery Image Version.
Constructor Summary
Constructor | Description |
---|---|
GalleryImageVersionSafetyProfile() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Policy |
policyViolations()
Get the policy |
Boolean |
reportedForPolicyViolation()
Get the reported |
void |
validate()
Validates the instance. |
Gallery |
withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)
Set the allow |
Methods inherited from GalleryArtifactSafetyProfileBase
Methods inherited from java.lang.Object
Constructor Details
GalleryImageVersionSafetyProfile
public GalleryImageVersionSafetyProfile()
Creates an instance of GalleryImageVersionSafetyProfile class.
Method Details
policyViolations
public List
Get the policyViolations property: A list of Policy Violations that have been reported for this Gallery Image Version.
Returns:
reportedForPolicyViolation
public Boolean reportedForPolicyViolation()
Get the reportedForPolicyViolation property: Indicates whether this image has been reported as violating Microsoft's policies.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
GalleryImageVersionSafetyProfile.validate()withAllowDeletionOfReplicatedLocations
public GalleryImageVersionSafetyProfile withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)
Set the allowDeletionOfReplicatedLocations property: Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.
Overrides:
GalleryImageVersionSafetyProfile.withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for