Freigeben über


DevTestLabPolicyResource.Get(String, CancellationToken) Methode

Definition

Rufen Sie die Richtlinie ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
  • Vorgangs-IdPolicies_Get
public virtual Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabPolicyResource> Get (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabPolicyResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabPolicyResource>
Public Overridable Function Get (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevTestLabPolicyResource)

Parameter

expand
String

Geben Sie die $expand Abfrage an. Beispiel: 'properties($select=description)'.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: