Partager via


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 an 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

IotHubPrivateEndpointConnectionCollection()

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

Update the status of a private endpoint connection with the specified name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Update
  • Default Api Version: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
CreateOrUpdateAsync(WaitUntil, String, IotHubPrivateEndpointConnectionData, CancellationToken)

Update the status of a private endpoint connection with the specified name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Update
  • Default Api Version: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
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: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
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: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
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: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
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: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubPrivateEndpointConnectionResource
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<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.

Applies to