ArmManagedNetworkFabricModelFactory.NetworkDeviceData 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 NetworkDeviceData.
public static Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceData NetworkDeviceData (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, string annotation = default, string hostName = default, string serialNumber = default, string version = default, string networkDeviceSku = default, Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkDeviceRole? networkDeviceRole = default, Azure.Core.ResourceIdentifier networkRackId = default, System.Net.IPAddress managementIPv4Address = default, string managementIPv6Address = default, Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricConfigurationState? configurationState = default, Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricProvisioningState? provisioningState = default, Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricAdministrativeState? administrativeState = default);
static member NetworkDeviceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * string * string * string * Nullable<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkDeviceRole> * Azure.Core.ResourceIdentifier * System.Net.IPAddress * string * Nullable<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricConfigurationState> * Nullable<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricProvisioningState> * Nullable<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricAdministrativeState> -> Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceData
Public Shared Function NetworkDeviceData (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 annotation As String = Nothing, Optional hostName As String = Nothing, Optional serialNumber As String = Nothing, Optional version As String = Nothing, Optional networkDeviceSku As String = Nothing, Optional networkDeviceRole As Nullable(Of NetworkDeviceRole) = Nothing, Optional networkRackId As ResourceIdentifier = Nothing, Optional managementIPv4Address As IPAddress = Nothing, Optional managementIPv6Address As String = Nothing, Optional configurationState As Nullable(Of NetworkFabricConfigurationState) = Nothing, Optional provisioningState As Nullable(Of NetworkFabricProvisioningState) = Nothing, Optional administrativeState As Nullable(Of NetworkFabricAdministrativeState) = Nothing) As NetworkDeviceData
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.
- annotation
- String
Switch configuration description.
- hostName
- String
The host name of the device.
- serialNumber
- String
Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
- version
- String
Current version of the device as defined in SKU.
- networkDeviceSku
- String
Network Device SKU name.
- networkDeviceRole
- Nullable<NetworkDeviceRole>
NetworkDeviceRole is the device role: Example: CE | ToR.
- networkRackId
- ResourceIdentifier
Reference to network rack resource id.
- managementIPv4Address
- IPAddress
Management IPv4 Address.
- managementIPv6Address
- String
Management IPv6 Address.
- configurationState
- Nullable<NetworkFabricConfigurationState>
Configuration state of the resource.
- provisioningState
- Nullable<NetworkFabricProvisioningState>
Provisioning state of the resource.
- administrativeState
- Nullable<NetworkFabricAdministrativeState>
Administrative state of the resource.
Returns
A new NetworkDeviceData instance for mocking.
Applies to
Azure SDK for .NET