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 にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java