AzureResource 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.
An azure resource object
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.AzureResourceTypeConverter))]
public class AzureResource : Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IAzureResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.AzureResourceTypeConverter))>]
type AzureResource = class
interface IAzureResource
interface IJsonSerializable
Public Class AzureResource
Implements IAzureResource
- Inheritance
-
AzureResource
- Attributes
- Implements
Constructors
AzureResource() |
Creates an new AzureResource instance. |
Properties
Id |
Azure resource Id |
Location |
Resource location |
Name |
Azure resource name |
Tag |
Resource tags |
Type |
Azure resource type |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AzureResource. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AzureResource. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IAzureResource. |
FromJsonString(String) |
Creates a new instance of AzureResource, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AzureResource into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |