Share via


HostNetwork Class

Definition

The HostNetwork of a cluster.

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

Constructors

HostNetwork()

Creates an new HostNetwork instance.

Properties

EnableStorageAutoIP

Optional parameter required only for 3 Nodes Switchless deployments. This allows users to specify IPs and Mask for Storage NICs when Network ATC is not assigning the IPs for storage automatically.

Intent

The network intents assigned to the network reference pattern used for the deployment. Each intent will define its own name, traffic type, adapter names, and overrides as recommended by your OEM.

StorageConnectivitySwitchless

Defines how the storage adapters between nodes are connected either switch or switch less..

StorageNetwork

List of StorageNetworks config to deploy AzureStackHCI Cluster.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HostNetwork.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HostNetwork.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HostNetwork into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to