ArmHciModelFactory.DeploymentSettingInfrastructureNetwork Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The InfrastructureNetwork of a AzureStackHCI Cluster.
public static Azure.ResourceManager.Hci.Models.DeploymentSettingInfrastructureNetwork DeploymentSettingInfrastructureNetwork(string subnetMask = default, string gateway = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Hci.Models.DeploymentSettingIPPools> ipPools = default, Azure.ResourceManager.Hci.Models.DnsServerConfig? dnsServerConfig = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Hci.Models.HciDnsZones> dnsZones = default, System.Collections.Generic.IEnumerable<string> dnsServers = default, bool? useDhcp = default);
static member DeploymentSettingInfrastructureNetwork : string * string * seq<Azure.ResourceManager.Hci.Models.DeploymentSettingIPPools> * Nullable<Azure.ResourceManager.Hci.Models.DnsServerConfig> * seq<Azure.ResourceManager.Hci.Models.HciDnsZones> * seq<string> * Nullable<bool> -> Azure.ResourceManager.Hci.Models.DeploymentSettingInfrastructureNetwork
Public Shared Function DeploymentSettingInfrastructureNetwork (Optional subnetMask As String = Nothing, Optional gateway As String = Nothing, Optional ipPools As IEnumerable(Of DeploymentSettingIPPools) = Nothing, Optional dnsServerConfig As Nullable(Of DnsServerConfig) = Nothing, Optional dnsZones As IEnumerable(Of HciDnsZones) = Nothing, Optional dnsServers As IEnumerable(Of String) = Nothing, Optional useDhcp As Nullable(Of Boolean) = Nothing) As DeploymentSettingInfrastructureNetwork
Parameters
- subnetMask
- String
Subnet mask that matches the provided IP address space.
- gateway
- String
Default gateway that should be used for the provided IP address space.
- ipPools
- IEnumerable<DeploymentSettingIPPools>
Range of IP addresses from which addresses are allocated for nodes within a subnet.
- dnsServerConfig
- Nullable<DnsServerConfig>
Specifies how DNS servers are configured for the infrastructure network. Allowed values are 'UseDnsServer' to use the provided DNS servers, and 'UseForwarder' to use DNS forwarders.
- dnsZones
- IEnumerable<HciDnsZones>
Details of the DNS Zones to be configured.
- dnsServers
- IEnumerable<String>
IPv4 address of the DNS servers in your environment.
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.
Returns
A new DeploymentSettingInfrastructureNetwork instance for mocking.