共用方式為


ManagementGroupNetworkManagerConnectionCollection Class

Definition

A class representing a collection of ManagementGroupNetworkManagerConnectionResource and their operations. Each ManagementGroupNetworkManagerConnectionResource in the collection will belong to the same instance of ManagementGroupResource. To get a ManagementGroupNetworkManagerConnectionCollection instance call the GetManagementGroupNetworkManagerConnections method from an instance of ManagementGroupResource.

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

Constructors

ManagementGroupNetworkManagerConnectionCollection()

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

Create a network manager connection on this management group.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: ManagementGroupNetworkManagerConnections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
CreateOrUpdateAsync(WaitUntil, String, NetworkManagerConnectionData, CancellationToken)

Create a network manager connection on this management group.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: ManagementGroupNetworkManagerConnections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: ManagementGroupNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: ManagementGroupNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
Get(String, CancellationToken)

Get a specified connection created by this management group.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: ManagementGroupNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
GetAll(Nullable<Int32>, String, CancellationToken)

List all network manager connections created by this management group.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections
  • Operation Id: ManagementGroupNetworkManagerConnections_List
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
GetAllAsync(Nullable<Int32>, String, CancellationToken)

List all network manager connections created by this management group.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections
  • Operation Id: ManagementGroupNetworkManagerConnections_List
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
GetAsync(String, CancellationToken)

Get a specified connection created by this management group.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: ManagementGroupNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: ManagementGroupNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: ManagementGroupNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: ManagementGroupNetworkManagerConnectionResource
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<ManagementGroupNetworkManagerConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagementGroupNetworkManagerConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to