次の方法で共有


DataDiskImage Class

  • java.lang.Object
    • com.azure.resourcemanager.azurestack.models.DataDiskImage

Implements

public final class DataDiskImage
implements JsonSerializable<DataDiskImage>

Data disk image.

Constructor Summary

Constructor Description
DataDiskImage()

Creates an instance of DataDiskImage class.

Method Summary

Modifier and Type Method and Description
static DataDiskImage fromJson(JsonReader jsonReader)

Reads an instance of DataDiskImage from the JsonReader.

Integer lun()

Get the lun property: The LUN.

String sourceBlobSasUri()

Get the sourceBlobSasUri property: SAS key for source blob.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DataDiskImage

public DataDiskImage()

Creates an instance of DataDiskImage class.

Method Details

fromJson

public static DataDiskImage fromJson(JsonReader jsonReader)

Reads an instance of DataDiskImage from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataDiskImage if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DataDiskImage.

lun

public Integer lun()

Get the lun property: The LUN.

Returns:

the lun value.

sourceBlobSasUri

public String sourceBlobSasUri()

Get the sourceBlobSasUri property: SAS key for source blob.

Returns:

the sourceBlobSasUri value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to