Class ResourceId
java.lang.Object
com.microsoft.azure.management.resources.fluentcore.arm.ResourceId
Instantiate itself from a resource id, and give easy access to resource information like subscription, resourceGroup,
resource name.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceId
fromString
(String id) Returns parsed ResourceId object for a given resource id.id()
name()
parent()
-
Method Details
-
fromString
Returns parsed ResourceId object for a given resource id.- Parameters:
id
- of the resource- Returns:
- ResourceId object
-
subscriptionId
- Returns:
- subscriptionId of the resource.
-
resourceGroupName
- Returns:
- resourceGroupName of the resource.
-
name
- Returns:
- name of the resource.
-
parent
- Returns:
- parent resource id of the resource if any, otherwise null.
-
providerNamespace
- Returns:
- name of the provider.
-
resourceType
- Returns:
- type of the resource.
-
fullResourceType
- Returns:
- full type of the resource.
-
id
- Returns:
- the id of the resource.
-