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.
public class Resource : Microsoft.Azure.Management.ResourceManager.Fluent.ProxyResource
type Resource = class
inherit ProxyResource
Public Class Resource
Inherits ProxyResource
- Inheritance
- Derived
Constructors
Resource() |
Defines shared properties of an Azure resource. |
Resource(String, String, String, String, IDictionary<String,String>) |
Initializes a new instance of the Resource class. |
Properties
Id |
Resource Id. Setter is protected because Id needs to be set in Network resources. (Inherited from ProxyResource) |
Location |
Resource location |
Name |
Resource name (Inherited from ProxyResource) |
Tags |
Resource tags |
Type |
Resource type (Inherited from ProxyResource) |
Methods
Validate() |
Validate the object. Throws ValidationException if validation fails. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET