NetworkInterfacesOperations Class
NetworkInterfacesOperations 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)
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, network_interface_name, parameters, **kwargs)
Parameters
- parameters
- NetworkInterface
Parameters supplied to the create or update network interface operation.
- polling
- bool or PollingMethod
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 LROPoller 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, network_interface_name, **kwargs)
Parameters
- polling
- bool or PollingMethod
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 LROPoller 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, network_interface_name, **kwargs)
Parameters
- polling
- bool or PollingMethod
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 LROPoller 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, network_interface_name, **kwargs)
Parameters
- polling
- bool or PollingMethod
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 LROPoller 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, network_interface_name, parameters, **kwargs)
Parameters
- polling
- bool or PollingMethod
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 LROPoller 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, network_interface_name, expand=None, **kwargs)
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, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand=None, **kwargs)
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, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand=None, **kwargs)
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, **kwargs)
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)
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, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand=None, **kwargs)
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, virtual_machine_scale_set_name, **kwargs)
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, virtual_machine_scale_set_name, virtualmachine_index, **kwargs)
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