ManagedInstanceAdministratorCollection Class

Definition

A class representing a collection of ManagedInstanceAdministratorResource and their operations. Each ManagedInstanceAdministratorResource in the collection will belong to the same instance of ManagedInstanceResource. To get a ManagedInstanceAdministratorCollection instance call the GetManagedInstanceAdministrators method from an instance of ManagedInstanceResource.

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

Constructors

ManagedInstanceAdministratorCollection()

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

Creates or updates a managed instance administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/administrators/{administratorName}
  • Operation Id: ManagedInstanceAdministrators_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceAdministratorResource
CreateOrUpdateAsync(WaitUntil, SqlAdministratorName, ManagedInstanceAdministratorData, CancellationToken)

Creates or updates a managed instance administrator.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets a managed instance administrator.

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

Gets a list of managed instance administrators.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/administrators
  • Operation Id: ManagedInstanceAdministrators_ListByInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceAdministratorResource
GetAllAsync(CancellationToken)

Gets a list of managed instance administrators.

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

Gets a managed instance administrator.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedInstanceAdministratorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to