Language

IotHubPrivateEndpointConnectionCollection Class

Definition

A class representing a collection of IotHubPrivateEndpointConnectionResource and their operations. Each IotHubPrivateEndpointConnectionResource in the collection will belong to the same instance of IotHubDescriptionResource. To get a IotHubPrivateEndpointConnectionCollection instance call the GetIotHubPrivateEndpointConnections method from an instance of IotHubDescriptionResource.

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

Constructors

Name Description
IotHubPrivateEndpointConnectionCollection()

Initializes a new instance of IotHubPrivateEndpointConnectionCollection for mocking.

Properties

Name Description
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

Name Description
CreateOrUpdate(WaitUntil, String, IotHubPrivateEndpointConnectionData, CancellationToken)

Update the state of the specified private endpoint connection associated with the IotHub.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_CreateOrUpdate.
  • Default Api Version. : 2026-03-01-preview.
CreateOrUpdateAsync(WaitUntil, String, IotHubPrivateEndpointConnectionData, CancellationToken)

Update the state of the specified private endpoint connection associated with the IotHub.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_CreateOrUpdate.
  • Default Api Version. : 2026-03-01-preview.
Exists(String, CancellationToken)

Checks whether a private endpoint connection resource exists.

ExistsAsync(String, CancellationToken)

Checks whether a private endpoint connection resource exists.

Get(String, CancellationToken)

Get private endpoint connection properties

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_Get.
  • Default Api Version. : 2026-03-01-preview.
GetAll(CancellationToken)

List private endpoint connection properties

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections.
  • Operation Id. : PrivateEndpointConnections_List.
  • Default Api Version. : 2026-03-01-preview.
GetAllAsync(CancellationToken)

List private endpoint connection properties

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections.
  • Operation Id. : PrivateEndpointConnections_List.
  • Default Api Version. : 2026-03-01-preview.
GetAsync(String, CancellationToken)

Get private endpoint connection properties

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_Get.
  • Default Api Version. : 2026-03-01-preview.
GetIfExists(String, CancellationToken)

Tries to get details for this private endpoint connection.

GetIfExistsAsync(String, CancellationToken)

Tries to get details for this private endpoint connection.

TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<IotHubPrivateEndpointConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<IotHubPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to