Share via


ProxyResourceReference Class

Definition

Defines reference to a proxy resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ProxyResourceReferenceTypeConverter))]
public class ProxyResourceReference : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IProxyResourceReference, Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ProxyResourceReferenceTypeConverter))>]
type ProxyResourceReference = class
    interface IProxyResourceReference
    interface IJsonSerializable
    interface IAzureResourceReference
    interface IValidates
Public Class ProxyResourceReference
Implements IProxyResourceReference, IValidates
Inheritance
ProxyResourceReference
Attributes
Implements

Constructors

ProxyResourceReference()

Creates an new ProxyResourceReference instance.

Properties

Name

Gets the name of the proxy resource on the target side.

SourceArmResourceId

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProxyResourceReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProxyResourceReference.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProxyResourceReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to