ResourceItem Class
- java.
lang. Object - com.
azure. resourcemanager. appcomplianceautomation. models. ResourceItem
- com.
Implements
public final class ResourceItem
implements JsonSerializable<ResourceItem>
Resource Id.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| String |
resourceGroup()
Get the resource |
| String |
resourceId()
Get the resource |
| String |
resourceType()
Get the resource |
| String |
subscriptionId()
Get the subscription |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ResourceItem fromJson(JsonReader jsonReader)
Reads an instance of ResourceItem from the JsonReader.
Parameters:
Returns:
Throws:
resourceGroup
public String resourceGroup()
Get the resourceGroup property: The resource group name of this resource.
Returns:
resourceId
public String resourceId()
Get the resourceId property: The resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".
Returns:
resourceType
public String resourceType()
Get the resourceType property: The resource type of this resource. e.g. "Microsoft.SignalRService/SignalR".
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription Id of this resource.
Returns: