Share via


CognitiveServicesPrivateEndpointConnectionCollection Class

Definition

A class representing a collection of CognitiveServicesPrivateEndpointConnectionResource and their operations. Each CognitiveServicesPrivateEndpointConnectionResource in the collection will belong to the same instance of CognitiveServicesAccountResource. To get a CognitiveServicesPrivateEndpointConnectionCollection instance call the GetCognitiveServicesPrivateEndpointConnections method from an instance of CognitiveServicesAccountResource.

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

Constructors

CognitiveServicesPrivateEndpointConnectionCollection()

Initializes a new instance of the CognitiveServicesPrivateEndpointConnectionCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesPrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesPrivateEndpointConnectionResource
Get(String, CancellationToken)

Gets the specified private endpoint connection associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesPrivateEndpointConnectionResource
GetAll(CancellationToken)

Gets the private endpoint connections associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_List
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesPrivateEndpointConnectionResource
GetAllAsync(CancellationToken)

Gets the private endpoint connections associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_List
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesPrivateEndpointConnectionResource
GetAsync(String, CancellationToken)

Gets the specified private endpoint connection associated with the Cognitive Services account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesPrivateEndpointConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesPrivateEndpointConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-05-01
  • Resource: CognitiveServicesPrivateEndpointConnectionResource
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<CognitiveServicesPrivateEndpointConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CognitiveServicesPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to