Partager via


ResourceReference Class

Definition

The resource reference.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ResourceReferenceTypeConverter))]
public class ResourceReference : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IResourceReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ResourceReferenceTypeConverter))>]
type ResourceReference = class
    interface IResourceReference
    interface IJsonSerializable
Public Class ResourceReference
Implements IResourceReference
Inheritance
ResourceReference
Attributes
Implements

Constructors

ResourceReference()

Creates an new ResourceReference instance.

Properties

Id

The resource id.

Name

Gets the resource name.

Type

Gets the resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceReference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IResourceReference.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to