Share via


SubResource Class

Definition

The sub resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.SubResourceTypeConverter))]
public class SubResource : Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.ISubResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.SubResourceTypeConverter))>]
type SubResource = class
    interface ISubResource
    interface IJsonSerializable
Public Class SubResource
Implements ISubResource
Inheritance
SubResource
Attributes
Implements

Constructors

SubResource()

Creates an new SubResource instance.

Properties

Id

The identifier of the referenced resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SubResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SubResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.ISubResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SubResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to