GalleryApplicationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. GalleryApplicationInner
- com.
- com.
- com.
public final class GalleryApplicationInner
extends Resource
Specifies information about the gallery Application Definition that you want to create or update.
Constructor Summary
| Constructor | Description |
|---|---|
| GalleryApplicationInner() |
Creates an instance of Gallery |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Gallery |
customActions()
Get the custom |
| String |
description()
Get the description property: The description of this gallery Application Definition resource. |
|
Offset |
endOfLifeDate()
Get the end |
| String |
eula()
Get the eula property: The Eula agreement for the gallery Application Definition. |
|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
privacyStatementUri()
Get the privacy |
| String |
releaseNoteUri()
Get the release |
|
Operating |
supportedOSType()
Get the supported |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Gallery |
withCustomActions(List<GalleryApplicationCustomAction> customActions)
Set the custom |
|
Gallery |
withDescription(String description)
Set the description property: The description of this gallery Application Definition resource. |
|
Gallery |
withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the end |
|
Gallery |
withEula(String eula)
Set the eula property: The Eula agreement for the gallery Application Definition. |
|
Gallery |
withLocation(String location) |
|
Gallery |
withPrivacyStatementUri(String privacyStatementUri)
Set the privacy |
|
Gallery |
withReleaseNoteUri(String releaseNoteUri)
Set the release |
|
Gallery |
withSupportedOSType(OperatingSystemTypes supportedOSType)
Set the supported |
|
Gallery |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
GalleryApplicationInner
public GalleryApplicationInner()
Creates an instance of GalleryApplicationInner class.
Method Details
customActions
public List<GalleryApplicationCustomAction> customActions()
Get the customActions property: A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.
Returns:
description
public String description()
Get the description property: The description of this gallery Application Definition resource. This property is updatable.
Returns:
endOfLifeDate
public OffsetDateTime endOfLifeDate()
Get the endOfLifeDate property: The end of life date of the gallery Application 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 for the gallery Application Definition.
Returns:
fromJson
public static GalleryApplicationInner fromJson(JsonReader jsonReader)
Reads an instance of GalleryApplicationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GalleryApplicationInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GalleryApplicationInner.name()Returns:
privacyStatementUri
public String privacyStatementUri()
Get the privacyStatementUri property: The privacy statement uri.
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GalleryApplicationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GalleryApplicationInner.type()Returns:
validate
public void validate()
Validates the instance.
withCustomActions
public GalleryApplicationInner withCustomActions(List<GalleryApplicationCustomAction> customActions)
Set the customActions property: A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application.
Parameters:
Returns:
withDescription
public GalleryApplicationInner withDescription(String description)
Set the description property: The description of this gallery Application Definition resource. This property is updatable.
Parameters:
Returns:
withEndOfLifeDate
public GalleryApplicationInner withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the endOfLifeDate property: The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
Parameters:
Returns:
withEula
public GalleryApplicationInner withEula(String eula)
Set the eula property: The Eula agreement for the gallery Application Definition.
Parameters:
Returns:
withLocation
public GalleryApplicationInner withLocation(String location)
Overrides:
GalleryApplicationInner.withLocation(String location)Parameters:
withPrivacyStatementUri
public GalleryApplicationInner withPrivacyStatementUri(String privacyStatementUri)
Set the privacyStatementUri property: The privacy statement uri.
Parameters:
Returns:
withReleaseNoteUri
public GalleryApplicationInner withReleaseNoteUri(String releaseNoteUri)
Set the releaseNoteUri property: The release note uri.
Parameters:
Returns:
withSupportedOSType
public GalleryApplicationInner 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:
withTags
public GalleryApplicationInner withTags(Map<String,String> tags)
Overrides:
GalleryApplicationInner.withTags(Map<String,String> tags)Parameters: