Resource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resource
public class Resource : Microsoft.Rest.Azure.IResource
type Resource = class
interface IResource
Public Class Resource
Implements IResource
- Inheritance
-
Resource
- Derived
- Implements
Remarks
Common fields that are returned in the response for all Azure Resource Manager resources
Constructors
Resource() |
Initializes a new instance of the Resource class. |
Resource(String, String, String) |
Initializes a new instance of the Resource class. |
Properties
Id |
Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
Name |
Gets the name of the resource |
Type |
Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Applies to
Azure SDK for .NET
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