ArmProxyResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cosmos. models. ArmProxyResource
- com.
- com.
public class ArmProxyResource
extends ProxyResource
The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.
Constructor Summary
Constructor | Description |
---|---|
ArmProxyResource() |
Creates an instance of Arm |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Arm |
fromJson(JsonReader jsonReader)
Reads an instance of Arm |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ArmProxyResource
public ArmProxyResource()
Creates an instance of ArmProxyResource class.
Method Details
fromJson
public static ArmProxyResource fromJson(JsonReader jsonReader)
Reads an instance of ArmProxyResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ArmProxyResource.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ArmProxyResource.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ArmProxyResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ArmProxyResource.type()Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java