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:
jsonReader
- The JsonReader being read.
Returns:
An instance of SubResourceReadOnly if the JsonReader was pointing to an instance of it, or null if it was
pointing to JSON null.
Throws:
- If an error occurs while reading the SubResourceReadOnly.
id
public String id()
Get the id property: Resource Id.
Returns:
the id value.
toJson
validate
public void validate()
Validates the instance.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java