ProxyOnlyResource Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ProxyOnlyResource
- com.
Implements
public class ProxyOnlyResource
implements JsonSerializable<ProxyOnlyResource>
The ProxyOnly Resource model definition.
Constructor Summary
Constructor | Description |
---|---|
ProxyOnlyResource() |
Creates an instance of Proxy |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Proxy |
fromJson(JsonReader jsonReader)
Reads an instance of Proxy |
String |
id()
Get the id property: Resource Id. |
String |
name()
Get the name property: Resource name. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ProxyOnlyResource
public ProxyOnlyResource()
Creates an instance of ProxyOnlyResource class.
Method Details
fromJson
public static ProxyOnlyResource fromJson(JsonReader jsonReader)
Reads an instance of ProxyOnlyResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Returns:
name
public String name()
Get the name property: Resource name.
Returns:
toJson
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java