SubResourceReadOnly Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SubResourceReadOnly
- com.
Implements
public class SubResourceReadOnly
implements JsonSerializable<SubResourceReadOnly>
The SubResourceReadOnly model.
Constructor Summary
Constructor | Description |
---|---|
SubResourceReadOnly() |
Creates an instance of Sub |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sub |
fromJson(JsonReader jsonReader)
Reads an instance of Sub |
String |
id()
Get the id property: Resource Id. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
SubResourceReadOnly
public SubResourceReadOnly()
Creates an instance of SubResourceReadOnly class.
Method Details
fromJson
public static SubResourceReadOnly fromJson(JsonReader jsonReader)
Reads an instance of SubResourceReadOnly from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java