NetworkInterfacesOperations Class
NetworkInterfacesOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectNetworkInterfacesOperations
Constructor
NetworkInterfacesOperations(client, config, serializer, deserializer) -> None
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| begin_create_or_update |
Creates or updates a network interface. |
| begin_delete |
Deletes the specified network interface. |
| begin_get_effective_route_table |
Gets all route tables applied to a network interface. |
| begin_list_effective_network_security_groups |
Gets all network security groups applied to a network interface. |
| begin_update_tags |
Updates a network interface tags. |
| get |
Gets information about the specified network interface. |
| get_virtual_machine_scale_set_ip_configuration |
Get the specified network interface ip configuration in a virtual machine scale set. |
| get_virtual_machine_scale_set_network_interface |
Get the specified network interface in a virtual machine scale set. |
| list |
Gets all network interfaces in a resource group. |
| list_all |
Gets all network interfaces in a subscription. |
| list_virtual_machine_scale_set_ip_configurations |
Get the specified network interface ip configuration in a virtual machine scale set. |
| list_virtual_machine_scale_set_network_interfaces |
Gets all network interfaces in a virtual machine scale set. |
| list_virtual_machine_scale_set_vm_network_interfaces |
Gets information about all network interfaces in a virtual machine in a virtual machine scale set. |
begin_create_or_update
Creates or updates a network interface.
begin_create_or_update(resource_group_name: str, network_interface_name: str, parameters: azure.mgmt.network.v2017_09_01.models._models_py3.NetworkInterface, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.NetworkInterface')]
Parameters
- parameters
- NetworkInterface
Parameters supplied to the create or update network interface operation.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response)
Return type
Exceptions
begin_delete
Deletes the specified network interface.
begin_delete(resource_group_name: str, network_interface_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[NoneType]
Parameters
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_get_effective_route_table
Gets all route tables applied to a network interface.
begin_get_effective_route_table(resource_group_name: str, network_interface_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.EffectiveRouteListResult')]
Parameters
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response)
Return type
Exceptions
begin_list_effective_network_security_groups
Gets all network security groups applied to a network interface.
begin_list_effective_network_security_groups(resource_group_name: str, network_interface_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.EffectiveNetworkSecurityGroupListResult')]
Parameters
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response)
Return type
Exceptions
begin_update_tags
Updates a network interface tags.
begin_update_tags(resource_group_name: str, network_interface_name: str, parameters: azure.mgmt.network.v2017_09_01.models._models_py3.TagsObject, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.NetworkInterface')]
Parameters
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response)
Return type
Exceptions
get
Gets information about the specified network interface.
get(resource_group_name: str, network_interface_name: str, expand: typing.Union[str, NoneType] = None, **kwargs) -> azure.mgmt.network.v2017_09_01.models._models_py3.NetworkInterface
Parameters
Returns
NetworkInterface, or the result of cls(response)
Return type
Exceptions
get_virtual_machine_scale_set_ip_configuration
Get the specified network interface ip configuration in a virtual machine scale set.
get_virtual_machine_scale_set_ip_configuration(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, network_interface_name: str, ip_configuration_name: str, expand: typing.Union[str, NoneType] = None, **kwargs) -> azure.mgmt.network.v2017_09_01.models._models_py3.NetworkInterfaceIPConfiguration
Parameters
Returns
NetworkInterfaceIPConfiguration, or the result of cls(response)
Return type
Exceptions
get_virtual_machine_scale_set_network_interface
Get the specified network interface in a virtual machine scale set.
get_virtual_machine_scale_set_network_interface(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, network_interface_name: str, expand: typing.Union[str, NoneType] = None, **kwargs) -> azure.mgmt.network.v2017_09_01.models._models_py3.NetworkInterface
Parameters
Returns
NetworkInterface, or the result of cls(response)
Return type
Exceptions
list
Gets all network interfaces in a resource group.
list(resource_group_name: str, **kwargs) -> typing.AsyncIterable[_ForwardRef('models.NetworkInterfaceListResult')]
Parameters
Returns
An iterator like instance of either NetworkInterfaceListResult or the result of cls(response)
Return type
Exceptions
list_all
Gets all network interfaces in a subscription.
list_all(**kwargs) -> typing.AsyncIterable[_ForwardRef('models.NetworkInterfaceListResult')]
Parameters
Returns
An iterator like instance of either NetworkInterfaceListResult or the result of cls(response)
Return type
Exceptions
list_virtual_machine_scale_set_ip_configurations
Get the specified network interface ip configuration in a virtual machine scale set.
list_virtual_machine_scale_set_ip_configurations(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, network_interface_name: str, expand: typing.Union[str, NoneType] = None, **kwargs) -> typing.AsyncIterable[_ForwardRef('models.NetworkInterfaceIPConfigurationListResult')]
Parameters
Returns
An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response)
Return type
Exceptions
list_virtual_machine_scale_set_network_interfaces
Gets all network interfaces in a virtual machine scale set.
list_virtual_machine_scale_set_network_interfaces(resource_group_name: str, virtual_machine_scale_set_name: str, **kwargs) -> typing.AsyncIterable[_ForwardRef('models.NetworkInterfaceListResult')]
Parameters
Returns
An iterator like instance of either NetworkInterfaceListResult or the result of cls(response)
Return type
Exceptions
list_virtual_machine_scale_set_vm_network_interfaces
Gets information about all network interfaces in a virtual machine in a virtual machine scale set.
list_virtual_machine_scale_set_vm_network_interfaces(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, **kwargs) -> typing.AsyncIterable[_ForwardRef('models.NetworkInterfaceListResult')]
Parameters
Returns
An iterator like instance of either NetworkInterfaceListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.network.v2017_09_01.models' from 'c:\\repo\\venv\\lib\\site-packages\\azure\\mgmt\\network\\v2017_09_01\\models\\__init__.py'>
Feedback
Submit and view feedback for