ResourceReferenceExtended Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ResourceReferenceExtended
- com.
Implements
public final class ResourceReferenceExtended
implements JsonSerializable<ResourceReferenceExtended>
The resourceId extended model. This is used to document failed resources with a resourceId and a corresponding error.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Management |
error()
Get the error property: The error detail. |
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| String |
id()
Get the id property: The ARM Resource ID of a resource managed by the deployment stack. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
error
public ManagementError error()
Get the error property: The error detail.
Returns:
fromJson
public static ResourceReferenceExtended fromJson(JsonReader jsonReader)
Reads an instance of ResourceReferenceExtended from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ARM Resource ID of a resource managed by the deployment stack.
Returns:
toJson
validate
public void validate()
Validates the instance.