azure-docs-sdk-java/docs-ref-autogen/com.azure.core.management.S...

95 строки
6.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.management.SubResource"
fullName: "com.azure.core.management.SubResource"
name: "SubResource"
nameWithType: "SubResource"
summary: "The Sub<wbr>Resource model."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **SubResource**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.core.management.SubResource.SubResource()"
fullName: "com.azure.core.management.SubResource.SubResource()"
name: "SubResource()"
nameWithType: "SubResource.SubResource()"
summary: "Creates an instance of <xref uid=\"com.azure.core.management.SubResource\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SubResource\"></xref>."
syntax: "public SubResource()"
desc: "Creates an instance of <xref uid=\"com.azure.core.management.SubResource\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SubResource\"></xref>."
methods:
- uid: "com.azure.core.management.SubResource.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.core.management.SubResource.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SubResource.fromJson(JsonReader jsonReader)"
summary: "Reads a JSON stream into a <xref uid=\"com.azure.core.management.SubResource\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SubResource\"></xref>."
modifiers:
- "static"
parameters:
- description: "The <xref uid=\"com.azure.json.JsonReader\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader\"></xref> being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static SubResource fromJson(JsonReader jsonReader)"
exceptions:
- description: "If a <xref uid=\"SubResource\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SubResource\"></xref> fails to be read from the <code>jsonReader</code>."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads a JSON stream into a <xref uid=\"com.azure.core.management.SubResource\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SubResource\"></xref>."
returns:
description: "The <xref uid=\"com.azure.core.management.SubResource\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SubResource\"></xref> that the JSON stream represented, may return null."
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.management.SubResource.id()"
fullName: "com.azure.core.management.SubResource.id()"
name: "id()"
nameWithType: "SubResource.id()"
summary: "Get the id value."
syntax: "public String id()"
desc: "Get the id value."
returns:
description: "the id value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.management.SubResource.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.core.management.SubResource.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SubResource.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.management.SubResource.withId(java.lang.String)"
fullName: "com.azure.core.management.SubResource.withId(String id)"
name: "withId(String id)"
nameWithType: "SubResource.withId(String id)"
summary: "Set the id value."
parameters:
- description: "the id value to set"
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SubResource withId(String id)"
desc: "Set the id value."
returns:
description: "the sub resource itself"
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The SubResource model."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.core.management"
artifact: com.azure:azure-core-management:1.15.5