共用方式為


NetworkInterfaceIPConfigurationCollection Class

Definition

A class representing a collection of NetworkInterfaceIPConfigurationResource and their operations. Each NetworkInterfaceIPConfigurationResource in the collection will belong to the same instance of NetworkInterfaceResource. To get a NetworkInterfaceIPConfigurationCollection instance call the GetNetworkInterfaceIPConfigurations method from an instance of NetworkInterfaceResource.

public class NetworkInterfaceIPConfigurationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationResource>
type NetworkInterfaceIPConfigurationCollection = class
    inherit ArmCollection
    interface seq<NetworkInterfaceIPConfigurationResource>
    interface IEnumerable
    interface IAsyncEnumerable<NetworkInterfaceIPConfigurationResource>
Public Class NetworkInterfaceIPConfigurationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of NetworkInterfaceIPConfigurationResource), IEnumerable(Of NetworkInterfaceIPConfigurationResource)
Inheritance
NetworkInterfaceIPConfigurationCollection
Implements

Constructors

NetworkInterfaceIPConfigurationCollection()

Initializes a new instance of the NetworkInterfaceIPConfigurationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Operation Id: NetworkInterfaceIPConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkInterfaceIPConfigurationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Operation Id: NetworkInterfaceIPConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkInterfaceIPConfigurationResource
Get(String, CancellationToken)

Gets the specified network interface ip configuration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Operation Id: NetworkInterfaceIPConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkInterfaceIPConfigurationResource
GetAll(CancellationToken)

Get all ip configurations in a network interface.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations
  • Operation Id: NetworkInterfaceIPConfigurations_List
  • Default Api Version: 2024-03-01
  • Resource: NetworkInterfaceIPConfigurationResource
GetAllAsync(CancellationToken)

Get all ip configurations in a network interface.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations
  • Operation Id: NetworkInterfaceIPConfigurations_List
  • Default Api Version: 2024-03-01
  • Resource: NetworkInterfaceIPConfigurationResource
GetAsync(String, CancellationToken)

Gets the specified network interface ip configuration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Operation Id: NetworkInterfaceIPConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkInterfaceIPConfigurationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Operation Id: NetworkInterfaceIPConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkInterfaceIPConfigurationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Operation Id: NetworkInterfaceIPConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkInterfaceIPConfigurationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<NetworkInterfaceIPConfigurationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkInterfaceIPConfigurationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to