ImageReference Class
- java.
lang. Object - com.
microsoft. azure. management. resources. fluentcore. model. implementation. WrapperImpl<ImageReferenceInner> - com.
microsoft. azure. management. compute. ImageReference
- com.
- com.
public class ImageReference
The image reference.
Constructor Summary
Constructor | Description |
---|---|
ImageReference() |
Creates ImageReference. |
ImageReference(ImageReferenceInner inner) |
Creates ImageReference. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String | id() |
ImageReferenceInner | inner() |
String |
offer()
Get the offer value. |
String |
publisher()
Get the publisher value. |
String | sku() |
String |
version()
Get the version value. |
Image |
withId(String id)
Sets the image resource ID value. |
Image |
withOffer(String offer)
Set the offer value. |
Image |
withPublisher(String publisher)
Set the publisher value. |
Image |
withSku(String sku)
Sets the SKU. |
Image |
withVersion(String version)
Set the version value. |
Constructor Details
ImageReference
public ImageReference()
Creates ImageReference.
ImageReference
public ImageReference(ImageReferenceInner inner)
Creates ImageReference.
Parameters:
Method Details
id
public String id()
Returns:
inner
public ImageReferenceInner inner()
offer
public String offer()
Get the offer value.
Returns:
publisher
public String publisher()
Get the publisher value.
Returns:
sku
public String sku()
Returns:
version
public String version()
Get the version value.
Returns:
withId
public ImageReference withId(String id)
Sets the image resource ID value.
Parameters:
Returns:
withOffer
public ImageReference withOffer(String offer)
Set the offer value.
Parameters:
Returns:
withPublisher
public ImageReference withPublisher(String publisher)
Set the publisher value.
Parameters:
Returns:
withSku
public ImageReference withSku(String sku)
Sets the SKU.
Parameters:
Returns:
withVersion
public ImageReference withVersion(String version)
Set the version value.
Parameters:
Returns:
Applies to
Azure SDK for Java