SqlServerAzureADAdministratorCollection Class

Definition

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

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

Constructors

SqlServerAzureADAdministratorCollection()

Initializes a new instance of the SqlServerAzureADAdministratorCollection 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, SqlAdministratorName, SqlServerAzureADAdministratorData, CancellationToken)

Creates or updates an existing Azure Active Directory administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
CreateOrUpdateAsync(WaitUntil, SqlAdministratorName, SqlServerAzureADAdministratorData, CancellationToken)

Creates or updates an existing Azure Active Directory administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
Exists(SqlAdministratorName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
ExistsAsync(SqlAdministratorName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
Get(SqlAdministratorName, CancellationToken)

Gets a Azure Active Directory administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
GetAll(CancellationToken)

Gets a list of Azure Active Directory administrators in a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators
  • Operation Id: ServerAzureADAdministrators_ListByServer
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
GetAllAsync(CancellationToken)

Gets a list of Azure Active Directory administrators in a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators
  • Operation Id: ServerAzureADAdministrators_ListByServer
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
GetAsync(SqlAdministratorName, CancellationToken)

Gets a Azure Active Directory administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
GetIfExists(SqlAdministratorName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
GetIfExistsAsync(SqlAdministratorName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
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<SqlServerAzureADAdministratorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerAzureADAdministratorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to