public class ImageReference
extends com.microsoft.azure.management.resources.fluentcore.model.implementation.WrapperImpl<com.microsoft.azure.management.compute.implementation.ImageReferenceInner>
| Constructor and Description |
|---|
ImageReference()
Creates ImageReference.
|
ImageReference(com.microsoft.azure.management.compute.implementation.ImageReferenceInner inner)
Creates ImageReference.
|
| Modifier and Type | Method and Description |
|---|---|
String |
id() |
com.microsoft.azure.management.compute.implementation.ImageReferenceInner |
inner() |
String |
offer()
Get the offer value.
|
String |
publisher()
Get the publisher value.
|
String |
sku() |
String |
version()
Get the version value.
|
ImageReference |
withId(String id)
Sets the image resource ID value.
|
ImageReference |
withOffer(String offer)
Set the offer value.
|
ImageReference |
withPublisher(String publisher)
Set the publisher value.
|
ImageReference |
withSku(String sku)
Sets the SKU.
|
ImageReference |
withVersion(String version)
Set the version value.
|
public ImageReference()
public ImageReference(com.microsoft.azure.management.compute.implementation.ImageReferenceInner inner)
inner - the inner objectpublic com.microsoft.azure.management.compute.implementation.ImageReferenceInner inner()
inner in interface com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.compute.implementation.ImageReferenceInner>inner in class com.microsoft.azure.management.resources.fluentcore.model.implementation.WrapperImpl<com.microsoft.azure.management.compute.implementation.ImageReferenceInner>public String id()
public ImageReference withId(String id)
id - the IDpublic 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 SKUpublic String version()
public ImageReference withVersion(String version)
version - the version value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/