Freigeben über


DnsSrvRecordCollection.Get(String, CancellationToken) Methode

Definition

Ruft einen Datensatzsatz ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{srvRecordName}
  • Vorgangs-IdRecordSets_Get
public virtual Azure.Response<Azure.ResourceManager.Dns.DnsSrvRecordResource> Get (string srvRecordName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Dns.DnsSrvRecordResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Dns.DnsSrvRecordResource>
Public Overridable Function Get (srvRecordName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DnsSrvRecordResource)

Parameter

srvRecordName
String

Der Name des Datensatzsatzes relativ zum Namen der Zone.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

srvRecordName ist NULL.

Gilt für: