Partager via


StorageMoverResource.GetStorageMoverAgent(String, CancellationToken) Méthode

Définition

Obtient une ressource Agent.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • IdAgents_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource> GetStorageMoverAgent (string agentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageMoverAgent : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>
override this.GetStorageMoverAgent : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>
Public Overridable Function GetStorageMoverAgent (agentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageMoverAgentResource)

Paramètres

agentName
String

Nom de la ressource Agent.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

agentName est une chaîne vide et devait être non vide.

agentName a la valeur null.

S’applique à