Share via


AzureResourceReference Class

Definition

Defines reference to an Azure resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.AzureResourceReferenceTypeConverter))]
public class AzureResourceReference : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IAzureResourceReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.AzureResourceReferenceTypeConverter))>]
type AzureResourceReference = class
    interface IAzureResourceReference
    interface IJsonSerializable
Public Class AzureResourceReference
Implements IAzureResourceReference
Inheritance
AzureResourceReference
Attributes
Implements

Constructors

AzureResourceReference()

Creates an new AzureResourceReference instance.

Properties

SourceArmResourceId

Gets the ARM resource ID of the tracked resource being referenced.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureResourceReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureResourceReference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IAzureResourceReference.

FromJsonString(String)

Creates a new instance of AzureResourceReference, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureResourceReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to