Compartilhar via


StorageSyncRegisteredServerCollection Classe

Definição

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

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

Construtores

StorageSyncRegisteredServerCollection()

Inicializa uma nova instância da StorageSyncRegisteredServerCollection 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

CreateOrUpdate(WaitUntil, Guid, StorageSyncRegisteredServerCreateOrUpdateContent, CancellationToken)

Adicione um novo servidor registrado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Create de operação
CreateOrUpdateAsync(WaitUntil, Guid, StorageSyncRegisteredServerCreateOrUpdateContent, CancellationToken)

Adicione um novo servidor registrado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Create de operação
Exists(Guid, CancellationToken)

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Get de operação
ExistsAsync(Guid, CancellationToken)

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Get de operação
Get(Guid, CancellationToken)

Obter um determinado servidor registrado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Get de operação
GetAll(CancellationToken)

Obtenha uma determinada lista de servidores registrados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers
  • IdRegisteredServers_ListByStorageSyncService de operação
GetAllAsync(CancellationToken)

Obtenha uma determinada lista de servidores registrados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers
  • IdRegisteredServers_ListByStorageSyncService de operação
GetAsync(Guid, CancellationToken)

Obter um determinado servidor registrado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Get de operação
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<StorageSyncRegisteredServerResource>.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<StorageSyncRegisteredServerResource>.GetEnumerator()

Retorna um enumerador que itera pela coleção.

Aplica-se a