AzureResource Class

Definition

Customizations of AzureResource

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.AzureResourceTypeConverter))]
public class AzureResource : Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.IAzureResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.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

The ID of this resource.

Name

The name of this resource.

ResourceGroup

The name of the resource group this resource belongs to.

ResourceType

Property revealing 'Type' in response table.

SubscriptionDisplayName

The name of the subscription this resource belongs to.

SubscriptionId

The ID of the subscription this resource belongs to.

Type

The type of this resource.

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.ManagedServiceIdentity.Models.Api20220131Preview.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()

Applies to