Share via


IResource Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ResourceTypeConverter))]
public interface IResource : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ResourceTypeConverter))>]
type IResource = interface
    interface IJsonSerializable
Public Interface IResource
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Id

The resource ID.

Name

The name of the resource.

Type

The type of the resource.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to