共用方式為


MySqlPrivateEndpointConnectionCollection Class

Definition

A class representing a collection of MySqlPrivateEndpointConnectionResource and their operations. Each MySqlPrivateEndpointConnectionResource in the collection will belong to the same instance of MySqlServerResource. To get a MySqlPrivateEndpointConnectionCollection instance call the GetMySqlPrivateEndpointConnections method from an instance of MySqlServerResource.

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

Constructors

MySqlPrivateEndpointConnectionCollection()

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

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateEndpointConnectionResource
CreateOrUpdateAsync(WaitUntil, String, MySqlPrivateEndpointConnectionData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateEndpointConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateEndpointConnectionResource
Get(String, CancellationToken)

Gets a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateEndpointConnectionResource
GetAll(CancellationToken)

Gets all private endpoint connections on a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateEndpointConnectionResource
GetAllAsync(CancellationToken)

Gets all private endpoint connections on a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateEndpointConnectionResource
GetAsync(String, CancellationToken)

Gets a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateEndpointConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateEndpointConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MySqlPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to