Partilhar via


DeletedServerCollection Classe

Definição

Uma classe que representa uma coleção de DeletedServerResource e suas operações. Cada DeletedServerResource um na coleção pertencerá à mesma instância de SubscriptionResource. Para obter uma DeletedServerCollection instância, chame o método GetDeletedServers de uma instância do SubscriptionResource.

public class DeletedServerCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sql.DeletedServerResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.DeletedServerResource>
type DeletedServerCollection = class
    inherit ArmCollection
    interface seq<DeletedServerResource>
    interface IEnumerable
    interface IAsyncEnumerable<DeletedServerResource>
Public Class DeletedServerCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DeletedServerResource), IEnumerable(Of DeletedServerResource)
Herança
DeletedServerCollection
Implementações

Construtores

DeletedServerCollection()

Inicializa uma nova instância da DeletedServerCollection classe para simulação.

Propriedades

Client

Obtém o ArmClient do qual esse cliente de recurso foi criado.

(Herdado de ArmCollection)
Diagnostics

Obtém as opções de diagnóstico para esse cliente de recurso.

(Herdado de ArmCollection)
Endpoint

Obtém o URI base para esse cliente de recurso.

(Herdado de ArmCollection)
Id

Obtém o identificador de recurso.

(Herdado de ArmCollection)
Pipeline

Obtém o pipeline para esse cliente de recurso.

(Herdado de ArmCollection)

Métodos

Exists(String, CancellationToken)

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers/{deletedServerName}
  • Operação IdDeletedServers_Get
ExistsAsync(String, CancellationToken)

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers/{deletedServerName}
  • Operação IdDeletedServers_Get
Get(String, CancellationToken)

Obtém um servidor excluído.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers/{deletedServerName}
  • Operação IdDeletedServers_Get
GetAll(CancellationToken)

Obtém uma lista de servidores excluídos para um local.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers
  • IdDeletedServers_ListByLocation de operação
GetAllAsync(CancellationToken)

Obtém uma lista de servidores excluídos para um local.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers
  • IdDeletedServers_ListByLocation de operação
GetAsync(String, CancellationToken)

Obtém um servidor excluído.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers/{deletedServerName}
  • Operação IdDeletedServers_Get
GetIfExists(String, CancellationToken)

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers/{deletedServerName}
  • Operação IdDeletedServers_Get
GetIfExistsAsync(String, CancellationToken)

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers/{deletedServerName}
  • Operação IdDeletedServers_Get
TryGetApiVersion(ResourceType, String)

Obtém a substituição da versão da API se ela tiver sido definida para as opções atuais do cliente.

(Herdado de ArmCollection)

Implantações explícitas de interface

IAsyncEnumerable<DeletedServerResource>.GetAsyncEnumerator(CancellationToken)

Retorna um enumerador que itera de maneira assíncrona por meio da coleção.

IEnumerable.GetEnumerator()

Retorna um enumerador que itera em uma coleção.

IEnumerable<DeletedServerResource>.GetEnumerator()

Retorna um enumerador que itera pela coleção.

Aplica-se a