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

VirtualEndpointResourceCollection()

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

Creates a new virtual endpoint for PostgreSQL flexible server.

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

Creates a new virtual endpoint for PostgreSQL flexible server.

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

Gets information about a virtual endpoint.

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

List all the servers in a given resource group.

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

List all the servers in a given resource group.

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

Gets information about a virtual endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}
  • Operation Id: VirtualEndpoints_Get
  • Default Api Version: 2024-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: 2024-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: 2024-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

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.

Applies to