DiskEncryptionSetParameters Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. compute. models. DiskEncryptionSetParameters
- com.
- com.
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 Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Disk |
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:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DiskEncryptionSetParameters.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
withId
public DiskEncryptionSetParameters withId(String id)
Overrides:
DiskEncryptionSetParameters.withId(String id)Parameters:
Applies to
Azure SDK for Java