GalleryImageReference Class
- java.
lang. Object - com.
microsoft. azure. management. labservices. v2018_10_15.GalleryImageReference
- com.
public class GalleryImageReference
The reference information for an Azure Marketplace image.
Constructor Summary
Constructor | Description | |
---|---|---|
GalleryImageReference() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
offer()
Get the offer of the gallery image. |
java.lang.String |
osType()
Get the OS type of the gallery image. |
java.lang.String |
publisher()
Get the publisher of the gallery image. |
java.lang.String |
sku()
Get the SKU of the gallery image. |
java.lang.String |
version()
Get the version of the gallery image. |
Gallery |
withOffer(String offer)
Set the offer of the gallery image. |
Gallery |
withOsType(String osType)
Set the OS type of the gallery image. |
Gallery |
withPublisher(String publisher)
Set the publisher of the gallery image. |
Gallery |
withSku(String sku)
Set the SKU of the gallery image. |
Gallery |
withVersion(String version)
Set the version of the gallery image. |
Methods inherited from java.lang.Object
Constructor Details
GalleryImageReference
public GalleryImageReference()
Method Details
offer
public String offer()
Get the offer of the gallery image.
Returns:
osType
public String osType()
Get the OS type of the gallery image.
Returns:
publisher
public String publisher()
Get the publisher of the gallery image.
Returns:
sku
public String sku()
Get the SKU of the gallery image.
Returns:
version
public String version()
Get the version of the gallery image.
Returns:
withOffer
public GalleryImageReference withOffer(String offer)
Set the offer of the gallery image.
Parameters:
Returns:
withOsType
public GalleryImageReference withOsType(String osType)
Set the OS type of the gallery image.
Parameters:
Returns:
withPublisher
public GalleryImageReference withPublisher(String publisher)
Set the publisher of the gallery image.
Parameters:
Returns:
withSku
public GalleryImageReference withSku(String sku)
Set the SKU of the gallery image.
Parameters:
Returns:
withVersion
public GalleryImageReference withVersion(String version)
Set the version of the gallery image.
Parameters:
Returns:
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