Package com.azure.core.management
Class ProxyResource
java.lang.Object
com.azure.core.management.ProxyResource
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ProxyResource>
- Direct Known Subclasses:
Resource
The Proxy Resource model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyResourcefromJson(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aProxyResource.id()Get the id value.name()Get the name value.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ProxyResource
public ProxyResource()Creates an instance ofProxyResource.
-
-
Method Details
-
id
Get the id value.- Returns:
- the fully qualified resource ID for the resource.
-
name
Get the name value.- Returns:
- the name of the resource.
-
type
Get the type value.- Returns:
- the type of the resource.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ProxyResource>- Throws:
IOException
-
fromJson
Reads a JSON stream into aProxyResource.- Parameters:
jsonReader- TheJsonReaderbeing read.- Returns:
- The
ProxyResourcethat the JSON stream represented, may return null. - Throws:
IOException- If aProxyResourcefails to be read from thejsonReader.
-