Condividi tramite


VirtualEndpointResourceCollection Class

Definition

A class representing a collection of VirtualEndpointResource and their operations. Each VirtualEndpointResource in the collection will belong to the same instance of PostgreSqlFlexibleServerResource. To get a VirtualEndpointResourceCollection instance call the GetVirtualEndpointResources method from an instance of PostgreSqlFlexibleServerResource.

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

Constructors

Name Description
VirtualEndpointResourceCollection()

Initializes a new instance of the VirtualEndpointResourceCollection class 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, VirtualEndpointResourceData, CancellationToken)

Creates a pair of virtual endpoints for a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}
  • Operation Id: VirtualEndpoints_Create
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
CreateOrUpdateAsync(WaitUntil, String, VirtualEndpointResourceData, CancellationToken)

Creates a pair of virtual endpoints for a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}
  • Operation Id: VirtualEndpoints_Create
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}
  • Operation Id: VirtualEndpoints_Get
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}
  • Operation Id: VirtualEndpoints_Get
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
Get(String, CancellationToken)

Gets information about a pair of virtual endpoints.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}
  • Operation Id: VirtualEndpoints_Get
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
GetAll(CancellationToken)

Lists pair of virtual endpoints associated to a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints
  • Operation Id: VirtualEndpoints_ListByServer
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
GetAllAsync(CancellationToken)

Lists pair of virtual endpoints associated to a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints
  • Operation Id: VirtualEndpoints_ListByServer
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
GetAsync(String, CancellationToken)

Gets information about a pair of virtual endpoints.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}
  • Operation Id: VirtualEndpoints_Get
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}
  • Operation Id: VirtualEndpoints_Get
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}
  • Operation Id: VirtualEndpoints_Get
  • Default Api Version: 2025-08-01
  • Resource: VirtualEndpointResource
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<VirtualEndpointResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VirtualEndpointResource>.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