GalleryScriptVersionSafetyProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryArtifactSafetyProfileBase - com.
azure. resourcemanager. compute. models. GalleryScriptVersionSafetyProfile
- com.
- com.
public final class GalleryScriptVersionSafetyProfile
extends GalleryArtifactSafetyProfileBase
The safety profile of the Gallery Script Version.
Constructor Summary
| Constructor | Description |
|---|---|
| GalleryScriptVersionSafetyProfile() |
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
GalleryScriptVersionSafetyProfile
public GalleryScriptVersionSafetyProfile()
Creates an instance of GalleryScriptVersionSafetyProfile class.
Method Details
fromJson
public static GalleryScriptVersionSafetyProfile fromJson(JsonReader jsonReader)
Reads an instance of GalleryScriptVersionSafetyProfile from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GalleryScriptVersionSafetyProfile.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
GalleryScriptVersionSafetyProfile.validate()withAllowDeletionOfReplicatedLocations
public GalleryScriptVersionSafetyProfile withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)
Set the allowDeletionOfReplicatedLocations property: Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.
Overrides:
GalleryScriptVersionSafetyProfile.withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)Parameters: