Delen via


NetworkConfiguration Class

Definition

NetworkConfiguration specifies the Kubernetes cluster network related configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.NetworkConfigurationTypeConverter))]
public class NetworkConfiguration : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.INetworkConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.NetworkConfigurationTypeConverter))>]
type NetworkConfiguration = class
    interface INetworkConfiguration
    interface IJsonSerializable
Public Class NetworkConfiguration
Implements INetworkConfiguration
Inheritance
NetworkConfiguration
Attributes
Implements

Constructors

NetworkConfiguration()

Creates an new NetworkConfiguration instance.

Properties

AttachedNetworkConfigurationL2Network

The list of Layer 2 Networks and related configuration for attachment.

AttachedNetworkConfigurationL3Network

The list of Layer 3 Networks and related configuration for attachment.

AttachedNetworkConfigurationTrunkedNetwork

The list of Trunked Networks and related configuration for attachment.

BgpServiceLoadBalancerConfigurationBgpAdvertisement

The association of IP address pools to the communities and peers, allowing for announcement of IPs.

BgpServiceLoadBalancerConfigurationBgpPeer

The list of additional BgpPeer entities that the Kubernetes cluster will peer with. All peering must be explicitly defined.

BgpServiceLoadBalancerConfigurationFabricPeeringEnabled

The indicator to specify if the load balancer peers with the network fabric.

BgpServiceLoadBalancerConfigurationIPAddressPool

The list of pools of IP addresses that can be allocated to Load Balancer services.

CloudServicesNetworkId

The resource ID of the associated Cloud Services network.

CniNetworkId

The resource ID of the Layer 3 network that is used for creation of the Container Networking Interface network.

DnsServiceIP

The IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in service CIDR.

PodCidr

The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.

ServiceCidr

The CIDR notation IP ranges from which to assign service IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NetworkConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NetworkConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.INetworkConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NetworkConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to