你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkInterfaceIPConfigurationsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:network_interface_ip_configurations> attribute.
- Inheritance
-
builtins.objectNetworkInterfaceIPConfigurationsOperations
Constructor
NetworkInterfaceIPConfigurationsOperations(*args, **kwargs)
Methods
get |
Gets the specified network interface ip configuration. |
list |
Get all ip configurations in a network interface. |
get
Gets the specified network interface ip configuration.
get(resource_group_name: str, network_interface_name: str, ip_configuration_name: str, **kwargs: Any) -> NetworkInterfaceIPConfiguration
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
network_interface_name
Required
|
The name of the network interface. Required. |
ip_configuration_name
Required
|
The name of the ip configuration name. Required. |
Returns
Type | Description |
---|---|
NetworkInterfaceIPConfiguration or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Get all ip configurations in a network interface.
list(resource_group_name: str, network_interface_name: str, **kwargs: Any) -> Iterable[NetworkInterfaceIPConfiguration]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
network_interface_name
Required
|
The name of the network interface. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either NetworkInterfaceIPConfiguration or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>