共用方式為


AttachedNetworkConnectionCollection Class

Definition

A class representing a collection of AttachedNetworkConnectionResource and their operations. Each AttachedNetworkConnectionResource in the collection will belong to the same instance of DevCenterResource. To get an AttachedNetworkConnectionCollection instance call the GetAttachedNetworkConnections method from an instance of DevCenterResource.

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

Constructors

AttachedNetworkConnectionCollection()

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

Creates or updates an attached NetworkConnection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • Operation Id: AttachedNetworks_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, AttachedNetworkConnectionData, CancellationToken)

Creates or updates an attached NetworkConnection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • Operation Id: AttachedNetworks_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • Operation Id: AttachedNetworks_GetByDevCenter
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • Operation Id: AttachedNetworks_GetByDevCenter
Get(String, CancellationToken)

Gets an attached NetworkConnection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • Operation Id: AttachedNetworks_GetByDevCenter
GetAll(Nullable<Int32>, CancellationToken)

Lists the attached NetworkConnections for a DevCenter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks
  • Operation Id: AttachedNetworks_ListByDevCenter
GetAllAsync(Nullable<Int32>, CancellationToken)

Lists the attached NetworkConnections for a DevCenter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks
  • Operation Id: AttachedNetworks_ListByDevCenter
GetAsync(String, CancellationToken)

Gets an attached NetworkConnection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • Operation Id: AttachedNetworks_GetByDevCenter
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • Operation Id: AttachedNetworks_GetByDevCenter
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • Operation Id: AttachedNetworks_GetByDevCenter
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<AttachedNetworkConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AttachedNetworkConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to