Partager via


DevTestLabServiceFabricCollection.Get Méthode

Définition

Obtenez Service Fabric.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}
  • IdServiceFabrics_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabServiceFabricResource> Get (string name, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabServiceFabricResource>
override this.Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabServiceFabricResource>
Public Overridable Function Get (name As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevTestLabServiceFabricResource)

Paramètres

name
String

Nom de service fabric.

expand
String

Spécifiez la requête $expand. Exemple : 'properties($expand=applicableSchedule)'.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

name est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

name a la valeur null.

S’applique à