Condividi tramite


ScopeConnectionCollection Class

Definition

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

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

Constructors

ScopeConnectionCollection()

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

Creates or updates scope connection from Network Manager

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

Creates or updates scope connection from Network Manager

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get specified scope connection created by this Network Manager.

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

List all scope connections created by this network manager.

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

List all scope connections created by this network manager.

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

Get specified scope connection created by this Network Manager.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ScopeConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to