Dela via


PostgreSqlFlexibleServerActiveDirectoryAdministratorCollection Class

Definition

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

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

Constructors

PostgreSqlFlexibleServerActiveDirectoryAdministratorCollection()

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

Creates a new server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • Operation Id: Administrators_Create
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerActiveDirectoryAdministratorResource
CreateOrUpdateAsync(WaitUntil, String, PostgreSqlFlexibleServerActiveDirectoryAdministratorCreateOrUpdateContent, CancellationToken)

Creates a new server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • Operation Id: Administrators_Create
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerActiveDirectoryAdministratorResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • Operation Id: Administrators_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerActiveDirectoryAdministratorResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • Operation Id: Administrators_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerActiveDirectoryAdministratorResource
Get(String, CancellationToken)

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • Operation Id: Administrators_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerActiveDirectoryAdministratorResource
GetAll(CancellationToken)

List all the AAD administrators for a given server.

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

List all the AAD administrators for a given server.

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

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • Operation Id: Administrators_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerActiveDirectoryAdministratorResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • Operation Id: Administrators_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerActiveDirectoryAdministratorResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • Operation Id: Administrators_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerActiveDirectoryAdministratorResource
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<PostgreSqlFlexibleServerActiveDirectoryAdministratorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PostgreSqlFlexibleServerActiveDirectoryAdministratorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to