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