Condividi tramite


SqlPrivateEndpointConnectionCollection Class

Definition

A class representing a collection of SqlPrivateEndpointConnectionResource and their operations. Each SqlPrivateEndpointConnectionResource in the collection will belong to the same instance of SqlServerResource. To get a SqlPrivateEndpointConnectionCollection instance call the GetSqlPrivateEndpointConnections method from an instance of SqlServerResource.

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

Constructors

SqlPrivateEndpointConnectionCollection()

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

Approve or reject a private endpoint connection with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
CreateOrUpdateAsync(WaitUntil, String, SqlPrivateEndpointConnectionData, CancellationToken)

Approve or reject a private endpoint connection with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
Get(String, CancellationToken)

Gets a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
GetAll(CancellationToken)

Gets all private endpoint connections on a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByServer
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
GetAllAsync(CancellationToken)

Gets all private endpoint connections on a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByServer
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
GetAsync(String, CancellationToken)

Gets a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
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<SqlPrivateEndpointConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to