Partager via


DevTestLabEnvironmentResource.Get(String, CancellationToken) Méthode

Définition

Obtenir l’environnement.

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

Paramètres

expand
String

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

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à