GalleryApplicationVersionSafetyProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryArtifactSafetyProfileBase - com.
azure. resourcemanager. compute. models. GalleryApplicationVersionSafetyProfile
- com.
- com.
public final class GalleryApplicationVersionSafetyProfile
extends GalleryArtifactSafetyProfileBase
The safety profile of the Gallery Application Version.
Constructor Summary
Constructor | Description |
---|---|
GalleryApplicationVersionSafetyProfile() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Gallery |
withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)
Set the allow |
Methods inherited from GalleryArtifactSafetyProfileBase
Methods inherited from java.lang.Object
Constructor Details
GalleryApplicationVersionSafetyProfile
public GalleryApplicationVersionSafetyProfile()
Creates an instance of GalleryApplicationVersionSafetyProfile class.
Method Details
fromJson
public static GalleryApplicationVersionSafetyProfile fromJson(JsonReader jsonReader)
Reads an instance of GalleryApplicationVersionSafetyProfile from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GalleryApplicationVersionSafetyProfile.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
GalleryApplicationVersionSafetyProfile.validate()withAllowDeletionOfReplicatedLocations
public GalleryApplicationVersionSafetyProfile withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)
Set the allowDeletionOfReplicatedLocations property: Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.
Overrides:
GalleryApplicationVersionSafetyProfile.withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)Parameters:
Applies to
Azure SDK for Java