NetworkInterface Class
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.
Defines the NetworkInterface resource.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.NetworkInterfaceTypeConverter))]
public class NetworkInterface : Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.INetworkInterface, Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.NetworkInterfaceTypeConverter))>]
type NetworkInterface = class
interface INetworkInterface
interface IJsonSerializable
interface IProxyResource
interface IResource
interface IValidates
Public Class NetworkInterface
Implements INetworkInterface, IValidates
- Inheritance
-
NetworkInterface
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| NetworkInterface() |
Creates an new NetworkInterface instance. |
Properties
| Name | Description |
|---|---|
| AdministrativeState |
Administrative state of the resource. |
| Annotation |
Switch configuration description. |
| ConnectedTo |
The ARM resource id of the interface or compute server its connected to. |
| Id |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| InterfaceType |
The Interface Type. Example: Management/Data |
| Ipv4Address |
IPv4Address of the interface. |
| Ipv6Address |
IPv6Address of the interface. |
| Name |
The name of the resource |
| PhysicalIdentifier |
Physical Identifier of the network interface. |
| ProvisioningState |
Provisioning state of the resource. |
| ResourceGroupName |
Gets the resource group name |
| SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
| SystemDataCreatedBy |
The identity that created the resource. |
| SystemDataCreatedByType |
The type of identity that created the resource. |
| SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
| SystemDataLastModifiedBy |
The identity that last modified the resource. |
| SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
| Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of NetworkInterface. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of NetworkInterface. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.INetworkInterface. |
| FromJsonString(String) |
Creates a new instance of NetworkInterface, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of NetworkInterface into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |