AzureProxyResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. batch. models. AzureProxyResource
- com.
- com.
public class AzureProxyResource
extends ProxyResource
A definition of an Azure resource.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureProxyResource() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: The ETag of the resource, used for concurrency statements. |
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| Map<String,String> |
tags()
Get the tags property: The tags of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Azure |
withTags(Map<String,String> tags)
Set the tags property: The tags of the resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AzureProxyResource
public AzureProxyResource()
Creates an instance of AzureProxyResource class.
Method Details
etag
public String etag()
Get the etag property: The ETag of the resource, used for concurrency statements.
Returns:
fromJson
public static AzureProxyResource fromJson(JsonReader jsonReader)
Reads an instance of AzureProxyResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AzureProxyResource.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AzureProxyResource.name()Returns:
tags
public Map<String,String> tags()
Get the tags property: The tags of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureProxyResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AzureProxyResource.type()Returns:
validate
public void validate()
Validates the instance.
withTags
public AzureProxyResource withTags(Map<String,String> tags)
Set the tags property: The tags of the resource.
Parameters:
Returns: