Resource Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. Resource
- com.
public class Resource
Resource Common fields that are returned in the response for all Azure Resource Manager resources.
Constructor Summary
Constructor | Description |
---|---|
Resource() |
Creates an instance of Resource class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
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. |
Methods inherited from java.lang.Object
Constructor Details
Resource
public Resource()
Creates an instance of Resource class.
Method Details
getId
public String getId()
Get the id property: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Returns:
getName
public String getName()
Get the name property: The name of the resource.
Returns:
getType
public String getType()
Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for