你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ProxyResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource
- com.
Implements
public class ProxyResource
implements JsonSerializable<ProxyResource>
The Proxy Resource model.
Constructor Summary
Constructor | Description |
---|---|
ProxyResource() |
Creates an instance of ProxyResource. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Proxy |
fromJson(JsonReader jsonReader)
Reads a JSON stream into a ProxyResource. |
String |
id()
Get the id value. |
String |
name()
Get the name value. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type value. |
Methods inherited from java.lang.Object
Constructor Details
ProxyResource
public ProxyResource()
Creates an instance of ProxyResource.
Method Details
fromJson
public static ProxyResource fromJson(JsonReader jsonReader)
Reads a JSON stream into a ProxyResource.
Parameters:
jsonReader
- The JsonReader being read.
Returns:
The ProxyResource that the JSON stream represented, may return null.
Throws:
id
public String id()
Get the id value.
Returns:
the fully qualified resource ID for the resource.
name
public String name()
Get the name value.
Returns:
the name of the resource.
toJson
type
public String type()
Get the type value.
Returns:
the type of the resource.