ProxyResource Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. Resource - com.
azure. analytics. synapse. artifacts. models. ProxyResource
- com.
- com.
public class ProxyResource
extends Resource
Proxy Resource The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location.
Constructor Summary
| Constructor | Description |
|---|---|
| ProxyResource() |
Creates an instance of Proxy |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Proxy |
fromJson(JsonReader jsonReader)
Reads an instance of Proxy |
| String |
getId()
Get the id property: Fully qualified resource ID for the resource. |
| String |
getName()
Get the name property: The name of the resource. |
| String |
getType()
Get the type property: The type of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ProxyResource
public ProxyResource()
Creates an instance of ProxyResource class.
Method Details
fromJson
public static ProxyResource fromJson(JsonReader jsonReader)
Reads an instance of ProxyResource from the JsonReader.
Parameters:
Returns:
Throws:
getId
public String getId()
Get the id property: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Overrides:
ProxyResource.getId()Returns:
getName
public String getName()
Get the name property: The name of the resource.
Overrides:
ProxyResource.getName()Returns:
getType
public String getType()
Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
Overrides:
ProxyResource.getType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProxyResource.toJson(JsonWriter jsonWriter)Parameters:
Throws: