Partager via


SubResource Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.SubResourceTypeConverter))]
public class SubResource : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.ISubResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.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

Resource Id

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.Compute.Models.Api10.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.

Applies to