ArmHciModelFactory.LogicalNetworkData 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.
Initializes a new instance of LogicalNetworkData.
public static Azure.ResourceManager.Hci.LogicalNetworkData LogicalNetworkData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Hci.Models.ArcVmExtendedLocation extendedLocation = default, System.Collections.Generic.IEnumerable<string> dhcpOptionsDnsServers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Hci.Models.Subnet> subnets = default, Azure.ResourceManager.Hci.Models.ProvisioningStateEnum? provisioningState = default, string vmSwitchName = default, Azure.ResourceManager.Hci.Models.LogicalNetworkStatus status = default);
static member LogicalNetworkData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Hci.Models.ArcVmExtendedLocation * seq<string> * seq<Azure.ResourceManager.Hci.Models.Subnet> * Nullable<Azure.ResourceManager.Hci.Models.ProvisioningStateEnum> * string * Azure.ResourceManager.Hci.Models.LogicalNetworkStatus -> Azure.ResourceManager.Hci.LogicalNetworkData
Public Shared Function LogicalNetworkData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional extendedLocation As ArcVmExtendedLocation = Nothing, Optional dhcpOptionsDnsServers As IEnumerable(Of String) = Nothing, Optional subnets As IEnumerable(Of Subnet) = Nothing, Optional provisioningState As Nullable(Of ProvisioningStateEnum) = Nothing, Optional vmSwitchName As String = Nothing, Optional status As LogicalNetworkStatus = Nothing) As LogicalNetworkData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- extendedLocation
- ArcVmExtendedLocation
The extendedLocation of the resource.
- dhcpOptionsDnsServers
- IEnumerable<String>
DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.
- subnets
- IEnumerable<Subnet>
Subnet - list of subnets under the logical network.
- provisioningState
- Nullable<ProvisioningStateEnum>
Provisioning state of the logical network.
- vmSwitchName
- String
name of the network switch to be used for VMs.
- status
- LogicalNetworkStatus
The observed state of logical networks.
Returns
A new LogicalNetworkData instance for mocking.