Share via


InfrastructureNetwork Class

Definition

The InfrastructureNetwork of a AzureStackHCI Cluster.

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

Constructors

InfrastructureNetwork()

Creates an new InfrastructureNetwork instance.

Properties

DnsServer

IPv4 address of the DNS servers in your environment.

Gateway

Default gateway that should be used for the provided IP address space.

IPPool

Range of IP addresses from which addresses are allocated for nodes within a subnet.

SubnetMask

Subnet mask that matches the provided IP address space.

UseDhcp

Allows customers to use DHCP for Hosts and Cluster IPs. If not declared, the deployment will default to static IPs. When true, GW and DNS servers are not required

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of InfrastructureNetwork.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of InfrastructureNetwork.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of InfrastructureNetwork into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to