GalleryScriptProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. GalleryScriptProperties
- com.
Implements
public final class GalleryScriptProperties
implements JsonSerializable<GalleryScriptProperties>
Describes the properties of a gallery script definition.
Constructor Summary
| Constructor | Description |
|---|---|
| GalleryScriptProperties() |
Creates an instance of Gallery |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The description of this gallery script definition resource. |
|
Offset |
endOfLifeDate()
Get the end |
| String |
eula()
Get the eula property: The Eula agreement (End User License Agreement) for the gallery Script Definition. |
|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
| String |
privacyStatementUri()
Get the privacy |
|
Gallery |
provisioningState()
Get the provisioning |
| String |
releaseNoteUri()
Get the release |
|
Operating |
supportedOSType()
Get the supported |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Gallery |
withDescription(String description)
Set the description property: The description of this gallery script definition resource. |
|
Gallery |
withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the end |
|
Gallery |
withEula(String eula)
Set the eula property: The Eula agreement (End User License Agreement) for the gallery Script Definition. |
|
Gallery |
withPrivacyStatementUri(String privacyStatementUri)
Set the privacy |
|
Gallery |
withReleaseNoteUri(String releaseNoteUri)
Set the release |
|
Gallery |
withSupportedOSType(OperatingSystemTypes supportedOSType)
Set the supported |
Methods inherited from java.lang.Object
Constructor Details
GalleryScriptProperties
public GalleryScriptProperties()
Creates an instance of GalleryScriptProperties class.
Method Details
description
public String description()
Get the description property: The description of this gallery script definition resource. This property is updatable.
Returns:
endOfLifeDate
public OffsetDateTime endOfLifeDate()
Get the endOfLifeDate property: The end of life date of the gallery Script Definition. This property can be used for decommissioning purposes. This property is updatable.
Returns:
eula
public String eula()
Get the eula property: The Eula agreement (End User License Agreement) for the gallery Script Definition.
Returns:
fromJson
public static GalleryScriptProperties fromJson(JsonReader jsonReader)
Reads an instance of GalleryScriptProperties from the JsonReader.
Parameters:
Returns:
Throws:
privacyStatementUri
public String privacyStatementUri()
Get the privacyStatementUri property: The privacy statement uri.
Returns:
provisioningState
public GalleryProvisioningState provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
Returns:
releaseNoteUri
public String releaseNoteUri()
Get the releaseNoteUri property: The release note uri.
Returns:
supportedOSType
public OperatingSystemTypes supportedOSType()
Get the supportedOSType property: This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public GalleryScriptProperties withDescription(String description)
Set the description property: The description of this gallery script definition resource. This property is updatable.
Parameters:
Returns:
withEndOfLifeDate
public GalleryScriptProperties withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the endOfLifeDate property: The end of life date of the gallery Script Definition. This property can be used for decommissioning purposes. This property is updatable.
Parameters:
Returns:
withEula
public GalleryScriptProperties withEula(String eula)
Set the eula property: The Eula agreement (End User License Agreement) for the gallery Script Definition.
Parameters:
Returns:
withPrivacyStatementUri
public GalleryScriptProperties withPrivacyStatementUri(String privacyStatementUri)
Set the privacyStatementUri property: The privacy statement uri.
Parameters:
Returns:
withReleaseNoteUri
public GalleryScriptProperties withReleaseNoteUri(String releaseNoteUri)
Set the releaseNoteUri property: The release note uri.
Parameters:
Returns:
withSupportedOSType
public GalleryScriptProperties withSupportedOSType(OperatingSystemTypes supportedOSType)
Set the supportedOSType property: This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**.
Parameters:
Returns: