Class NetworkInterfacePropertiesFormatInner


  • public final class NetworkInterfacePropertiesFormatInner
    extends Object
    NetworkInterface properties.
    • Constructor Detail

      • NetworkInterfacePropertiesFormatInner

        public NetworkInterfacePropertiesFormatInner()
    • Method Detail

      • virtualMachine

        public com.azure.core.management.SubResource virtualMachine()
        Get the virtualMachine property: The reference to a virtual machine.
        Returns:
        the virtualMachine value.
      • networkSecurityGroup

        public NetworkSecurityGroupInner networkSecurityGroup()
        Get the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.
        Returns:
        the networkSecurityGroup value.
      • withNetworkSecurityGroup

        public NetworkInterfacePropertiesFormatInner withNetworkSecurityGroup​(NetworkSecurityGroupInner networkSecurityGroup)
        Set the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.
        Parameters:
        networkSecurityGroup - the networkSecurityGroup value to set.
        Returns:
        the NetworkInterfacePropertiesFormatInner object itself.
      • privateEndpoint

        public PrivateEndpointInner privateEndpoint()
        Get the privateEndpoint property: A reference to the private endpoint to which the network interface is linked.
        Returns:
        the privateEndpoint value.
      • ipConfigurations

        public List<NetworkInterfaceIpConfigurationInner> ipConfigurations()
        Get the ipConfigurations property: A list of IPConfigurations of the network interface.
        Returns:
        the ipConfigurations value.
      • tapConfigurations

        public List<NetworkInterfaceTapConfigurationInner> tapConfigurations()
        Get the tapConfigurations property: A list of TapConfigurations of the network interface.
        Returns:
        the tapConfigurations value.
      • dnsSettings

        public NetworkInterfaceDnsSettings dnsSettings()
        Get the dnsSettings property: The DNS settings in network interface.
        Returns:
        the dnsSettings value.
      • macAddress

        public String macAddress()
        Get the macAddress property: The MAC address of the network interface.
        Returns:
        the macAddress value.
      • primary

        public Boolean primary()
        Get the primary property: Whether this is a primary network interface on a virtual machine.
        Returns:
        the primary value.
      • vnetEncryptionSupported

        public Boolean vnetEncryptionSupported()
        Get the vnetEncryptionSupported property: Whether the virtual machine this nic is attached to supports encryption.
        Returns:
        the vnetEncryptionSupported value.
      • enableAcceleratedNetworking

        public Boolean enableAcceleratedNetworking()
        Get the enableAcceleratedNetworking property: If the network interface is accelerated networking enabled.
        Returns:
        the enableAcceleratedNetworking value.
      • withEnableAcceleratedNetworking

        public NetworkInterfacePropertiesFormatInner withEnableAcceleratedNetworking​(Boolean enableAcceleratedNetworking)
        Set the enableAcceleratedNetworking property: If the network interface is accelerated networking enabled.
        Parameters:
        enableAcceleratedNetworking - the enableAcceleratedNetworking value to set.
        Returns:
        the NetworkInterfacePropertiesFormatInner object itself.
      • enableIpForwarding

        public Boolean enableIpForwarding()
        Get the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.
        Returns:
        the enableIpForwarding value.
      • withEnableIpForwarding

        public NetworkInterfacePropertiesFormatInner withEnableIpForwarding​(Boolean enableIpForwarding)
        Set the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.
        Parameters:
        enableIpForwarding - the enableIpForwarding value to set.
        Returns:
        the NetworkInterfacePropertiesFormatInner object itself.
      • hostedWorkloads

        public List<String> hostedWorkloads()
        Get the hostedWorkloads property: A list of references to linked BareMetal resources.
        Returns:
        the hostedWorkloads value.
      • dscpConfiguration

        public com.azure.core.management.SubResource dscpConfiguration()
        Get the dscpConfiguration property: A reference to the dscp configuration to which the network interface is linked.
        Returns:
        the dscpConfiguration value.
      • resourceGuid

        public String resourceGuid()
        Get the resourceGuid property: The resource GUID property of the network interface resource.
        Returns:
        the resourceGuid value.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state of the network interface resource.
        Returns:
        the provisioningState value.
      • workloadType

        public String workloadType()
        Get the workloadType property: WorkloadType of the NetworkInterface for BareMetal resources.
        Returns:
        the workloadType value.
      • withWorkloadType

        public NetworkInterfacePropertiesFormatInner withWorkloadType​(String workloadType)
        Set the workloadType property: WorkloadType of the NetworkInterface for BareMetal resources.
        Parameters:
        workloadType - the workloadType value to set.
        Returns:
        the NetworkInterfacePropertiesFormatInner object itself.
      • nicType

        public NetworkInterfaceNicType nicType()
        Get the nicType property: Type of Network Interface resource.
        Returns:
        the nicType value.
      • privateLinkService

        public PrivateLinkServiceInner privateLinkService()
        Get the privateLinkService property: Privatelinkservice of the network interface resource.
        Returns:
        the privateLinkService value.
      • withPrivateLinkService

        public NetworkInterfacePropertiesFormatInner withPrivateLinkService​(PrivateLinkServiceInner privateLinkService)
        Set the privateLinkService property: Privatelinkservice of the network interface resource.
        Parameters:
        privateLinkService - the privateLinkService value to set.
        Returns:
        the NetworkInterfacePropertiesFormatInner object itself.
      • migrationPhase

        public NetworkInterfaceMigrationPhase migrationPhase()
        Get the migrationPhase property: Migration phase of Network Interface resource.
        Returns:
        the migrationPhase value.
      • withMigrationPhase

        public NetworkInterfacePropertiesFormatInner withMigrationPhase​(NetworkInterfaceMigrationPhase migrationPhase)
        Set the migrationPhase property: Migration phase of Network Interface resource.
        Parameters:
        migrationPhase - the migrationPhase value to set.
        Returns:
        the NetworkInterfacePropertiesFormatInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.