共用方式為


SubscriptionNetworkManagerConnectionCollection Class

Definition

A class representing a collection of SubscriptionNetworkManagerConnectionResource and their operations. Each SubscriptionNetworkManagerConnectionResource in the collection will belong to the same instance of SubscriptionResource. To get a SubscriptionNetworkManagerConnectionCollection instance call the GetSubscriptionNetworkManagerConnections method from an instance of SubscriptionResource.

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

Constructors

SubscriptionNetworkManagerConnectionCollection()

Initializes a new instance of the SubscriptionNetworkManagerConnectionCollection 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 subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: SubscriptionNetworkManagerConnections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: SubscriptionNetworkManagerConnectionResource
CreateOrUpdateAsync(WaitUntil, String, NetworkManagerConnectionData, CancellationToken)

Create a network manager connection on this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: SubscriptionNetworkManagerConnections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: SubscriptionNetworkManagerConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: SubscriptionNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: SubscriptionNetworkManagerConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: SubscriptionNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: SubscriptionNetworkManagerConnectionResource
Get(String, CancellationToken)

Get a specified connection created by this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: SubscriptionNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: SubscriptionNetworkManagerConnectionResource
GetAll(Nullable<Int32>, String, CancellationToken)

List all network manager connections created by this subscription.

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

List all network manager connections created by this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections
  • Operation Id: SubscriptionNetworkManagerConnections_List
  • Default Api Version: 2024-03-01
  • Resource: SubscriptionNetworkManagerConnectionResource
GetAsync(String, CancellationToken)

Get a specified connection created by this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: SubscriptionNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: SubscriptionNetworkManagerConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: SubscriptionNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: SubscriptionNetworkManagerConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operation Id: SubscriptionNetworkManagerConnections_Get
  • Default Api Version: 2024-03-01
  • Resource: SubscriptionNetworkManagerConnectionResource
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<SubscriptionNetworkManagerConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SubscriptionNetworkManagerConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to