Share via


SwitchExtension Class

Definition

This represents extensions installed on virtualSwitch.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.SwitchExtensionTypeConverter))]
public class SwitchExtension : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ISwitchExtension
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.SwitchExtensionTypeConverter))>]
type SwitchExtension = class
    interface ISwitchExtension
    interface IJsonSerializable
Public Class SwitchExtension
Implements ISwitchExtension
Inheritance
SwitchExtension
Attributes
Implements

Constructors

SwitchExtension()

Creates an new SwitchExtension instance.

Properties

ExtensionEnabled

This represents whether extension is enabled on virtualSwitch.

ExtensionName

This will show extension name for virtualSwitch.

SwitchId

Unique identifier for virtualSwitch.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SwitchExtension.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SwitchExtension.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ISwitchExtension.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SwitchExtension into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to