Freigeben über


DiskEncryptionSetParameters Class

public final class DiskEncryptionSetParameters
extends SubResource

Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.

Constructor Summary

Constructor Description
DiskEncryptionSetParameters()

Creates an instance of DiskEncryptionSetParameters class.

Method Summary

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

Reads an instance of DiskEncryptionSetParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DiskEncryptionSetParameters withId(String id)

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

DiskEncryptionSetParameters

public DiskEncryptionSetParameters()

Creates an instance of DiskEncryptionSetParameters class.

Method Details

fromJson

public static DiskEncryptionSetParameters fromJson(JsonReader jsonReader)

Reads an instance of DiskEncryptionSetParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DiskEncryptionSetParameters 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 DiskEncryptionSetParameters.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DiskEncryptionSetParameters.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public DiskEncryptionSetParameters withId(String id)

Overrides:

DiskEncryptionSetParameters.withId(String id)

Parameters:

id

Applies to