Share via


CognitiveServicesProjectConnectionCollection Class

Definition

A class representing a collection of CognitiveServicesProjectConnectionResource and their operations. Each CognitiveServicesProjectConnectionResource in the collection will belong to the same instance of CognitiveServicesProjectResource. To get a CognitiveServicesProjectConnectionCollection instance call the GetCognitiveServicesProjectConnections method from an instance of CognitiveServicesProjectResource.

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

Constructors

CognitiveServicesProjectConnectionCollection()

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

Create or update Cognitive Services project connection under the specified project.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}
  • Operation Id: ProjectConnection_Create
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
CreateOrUpdateAsync(WaitUntil, String, CognitiveServicesConnectionData, CancellationToken)

Create or update Cognitive Services project connection under the specified project.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}
  • Operation Id: ProjectConnection_Create
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}
  • Operation Id: ProjectConnection_Get
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}
  • Operation Id: ProjectConnection_Get
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
Get(String, CancellationToken)

Lists Cognitive Services project connection by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}
  • Operation Id: ProjectConnection_Get
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
GetAll(String, String, Nullable<Boolean>, CancellationToken)

Lists all the available Cognitive Services project connections under the specified project.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections
  • Operation Id: ProjectConnection_List
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
GetAllAsync(String, String, Nullable<Boolean>, CancellationToken)

Lists all the available Cognitive Services project connections under the specified project.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections
  • Operation Id: ProjectConnection_List
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
GetAsync(String, CancellationToken)

Lists Cognitive Services project connection by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}
  • Operation Id: ProjectConnection_Get
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}
  • Operation Id: ProjectConnection_Get
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}
  • Operation Id: ProjectConnection_Get
  • Default Api Version: 2025-04-01-preview
  • Resource: CognitiveServicesProjectConnectionResource
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<CognitiveServicesProjectConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CognitiveServicesProjectConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to