Share via


NetworkDeviceInterfaceCollection Class

Definition

A class representing a collection of NetworkDeviceInterfaceResource and their operations. Each NetworkDeviceInterfaceResource in the collection will belong to the same instance of NetworkDeviceResource. To get a NetworkDeviceInterfaceCollection instance call the GetNetworkDeviceInterfaces method from an instance of NetworkDeviceResource.

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

Constructors

NetworkDeviceInterfaceCollection()

Initializes a new instance of the NetworkDeviceInterfaceCollection 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

CreateOrUpdate(WaitUntil, String, NetworkDeviceInterfaceData, CancellationToken)

Create a Network Interface resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Create
CreateOrUpdateAsync(WaitUntil, String, NetworkDeviceInterfaceData, CancellationToken)

Create a Network Interface resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Create
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Get
Get(String, CancellationToken)

Get the Network Interface resource details.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Get
GetAll(CancellationToken)

List all the Network Interface resources in a given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces
  • Operation Id: NetworkInterfaces_ListByNetworkDevice
GetAllAsync(CancellationToken)

List all the Network Interface resources in a given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces
  • Operation Id: NetworkInterfaces_ListByNetworkDevice
GetAsync(String, CancellationToken)

Get the Network Interface resource details.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Get
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<NetworkDeviceInterfaceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkDeviceInterfaceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to