Share via


SubResource Class

Definition

Reference to another subresource.

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

Name

The name of the resource that is unique within a resource group. This name can be used to access the resource.

Type

Resource type

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.Aks.Models.Api20230201.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