Partager via


StorageSyncRegisteredServerCollection Classe

Définition

Classe représentant une collection de StorageSyncRegisteredServerResource et leurs opérations. Chacun StorageSyncRegisteredServerResource de la collection appartient au même instance de StorageSyncServiceResource. Pour obtenir une StorageSyncRegisteredServerCollection instance appelez la méthode GetStorageSyncRegisteredServers à partir d’un instance de 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)
Héritage
StorageSyncRegisteredServerCollection
Implémente

Constructeurs

StorageSyncRegisteredServerCollection()

Initialise une nouvelle instance de la StorageSyncRegisteredServerCollection classe pour les moqueries.

Propriétés

Client

Obtient le ArmClient client de ressource à partir duquel il a été créé.

(Hérité de ArmCollection)
Diagnostics

Obtient les options de diagnostic pour ce client de ressources.

(Hérité de ArmCollection)
Endpoint

Obtient l’URI de base pour ce client de ressource.

(Hérité de ArmCollection)
Id

Obtient l’identificateur de ressource.

(Hérité de ArmCollection)
Pipeline

Obtient le pipeline pour ce client de ressources.

(Hérité de ArmCollection)

Méthodes

CreateOrUpdate(WaitUntil, Guid, StorageSyncRegisteredServerCreateOrUpdateContent, CancellationToken)

Ajoutez un nouveau serveur inscrit.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Create d’opération
CreateOrUpdateAsync(WaitUntil, Guid, StorageSyncRegisteredServerCreateOrUpdateContent, CancellationToken)

Ajoutez un nouveau serveur inscrit.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Create d’opération
Exists(Guid, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Get d’opération
ExistsAsync(Guid, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Get d’opération
Get(Guid, CancellationToken)

Obtenez un serveur inscrit donné.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Get d’opération
GetAll(CancellationToken)

Obtenez une liste de serveurs inscrits donnée.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers
  • IdRegisteredServers_ListByStorageSyncService d’opération
GetAllAsync(CancellationToken)

Obtenez une liste de serveurs inscrits donnée.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers
  • IdRegisteredServers_ListByStorageSyncService d’opération
GetAsync(Guid, CancellationToken)

Obtenez un serveur inscrit donné.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • IdRegisteredServers_Get d’opération
TryGetApiVersion(ResourceType, String)

Obtient la substitution de version de l’API si elle a été définie pour les options clientes actuelles.

(Hérité de ArmCollection)

Implémentations d’interfaces explicites

IAsyncEnumerable<StorageSyncRegisteredServerResource>.GetAsyncEnumerator(CancellationToken)

Retourne un énumérateur qui boucle de façon asynchrone dans la collection.

IEnumerable.GetEnumerator()

Retourne un énumérateur qui itère au sein d’une collection.

IEnumerable<StorageSyncRegisteredServerResource>.GetEnumerator()

Retourne un énumérateur qui itère au sein de la collection.

S’applique à