public class ImageReference extends SubResource
Constructor and Description |
---|
ImageReference() |
Modifier and Type | Method and Description |
---|---|
String |
offer()
Get specifies the offer of the platform image or marketplace image used to create the virtual machine.
|
String |
publisher()
Get the image publisher.
|
String |
sku()
Get the image SKU.
|
String |
version()
Get specifies the version of the platform image or marketplace image used to create the virtual machine.
|
ImageReference |
withOffer(String offer)
Set specifies the offer of the platform image or marketplace image used to create the virtual machine.
|
ImageReference |
withPublisher(String publisher)
Set the image publisher.
|
ImageReference |
withSku(String sku)
Set the image SKU.
|
ImageReference |
withVersion(String version)
Set specifies the version of the platform image or marketplace image used to create the virtual machine.
|
id, withId
public String publisher()
public ImageReference withPublisher(String publisher)
publisher
- the publisher value to setpublic String offer()
public ImageReference withOffer(String offer)
offer
- the offer value to setpublic String sku()
public ImageReference withSku(String sku)
sku
- the sku value to setpublic String version()
public ImageReference withVersion(String version)
version
- the version value to setCopyright © 2019. All rights reserved.