Condividi tramite


NetworkManagerCollection Class

Definition

A class representing a collection of NetworkManagerResource and their operations. Each NetworkManagerResource in the collection will belong to the same instance of ResourceGroupResource. To get a NetworkManagerCollection instance call the GetNetworkManagers method from an instance of ResourceGroupResource.

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

Constructors

NetworkManagerCollection()

Initializes a new instance of the NetworkManagerCollection 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, NetworkManagerData, CancellationToken)

Creates or updates a Network Manager.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}
  • Operation Id: NetworkManagers_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
CreateOrUpdateAsync(WaitUntil, String, NetworkManagerData, CancellationToken)

Creates or updates a Network Manager.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}
  • Operation Id: NetworkManagers_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}
  • Operation Id: NetworkManagers_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}
  • Operation Id: NetworkManagers_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
Get(String, CancellationToken)

Gets the specified Network Manager.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}
  • Operation Id: NetworkManagers_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
GetAll(Nullable<Int32>, String, CancellationToken)

List network managers in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers
  • Operation Id: NetworkManagers_List
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
GetAllAsync(Nullable<Int32>, String, CancellationToken)

List network managers in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers
  • Operation Id: NetworkManagers_List
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
GetAsync(String, CancellationToken)

Gets the specified Network Manager.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}
  • Operation Id: NetworkManagers_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}
  • Operation Id: NetworkManagers_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}
  • Operation Id: NetworkManagers_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerResource
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<NetworkManagerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkManagerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to