Share via


MediaServicesPrivateEndpointConnectionCollection Class

Definition

A class representing a collection of MediaServicesPrivateEndpointConnectionResource and their operations. Each MediaServicesPrivateEndpointConnectionResource in the collection will belong to the same instance of MediaServicesAccountResource. To get a MediaServicesPrivateEndpointConnectionCollection instance call the GetMediaServicesPrivateEndpointConnections method from an instance of MediaServicesAccountResource.

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

Constructors

MediaServicesPrivateEndpointConnectionCollection()

Initializes a new instance of the MediaServicesPrivateEndpointConnectionCollection class for mocking.

Methods

CreateOrUpdate(WaitUntil, String, MediaServicesPrivateEndpointConnectionData, CancellationToken)

Update an existing private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
CreateOrUpdateAsync(WaitUntil, String, MediaServicesPrivateEndpointConnectionData, CancellationToken)

Update an existing private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
Get(String, CancellationToken)

Get the details of a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
GetAll(CancellationToken)

List all private endpoint connections.

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

List all private endpoint connections.

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

Get the details of a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-01-01
  • Resource: MediaServicesPrivateEndpointConnectionResource

Explicit Interface Implementations

IAsyncEnumerable<MediaServicesPrivateEndpointConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MediaServicesPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

Applies to