Freigeben über


CdnEndpointResource.GetCdnCustomDomainAsync(String, CancellationToken) Methode

Definition

Ruft eine vorhandene benutzerdefinierte Domäne innerhalb eines Endpunkts ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}
  • Vorgangs-IdCdnCustomDomains_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.CdnCustomDomainResource>> GetCdnCustomDomainAsync (string customDomainName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCdnCustomDomainAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.CdnCustomDomainResource>>
override this.GetCdnCustomDomainAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.CdnCustomDomainResource>>
Public Overridable Function GetCdnCustomDomainAsync (customDomainName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CdnCustomDomainResource))

Parameter

customDomainName
String

Name der benutzerdefinierten Domäne innerhalb eines Endpunkts.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

customDomainName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

customDomainName ist NULL.

Gilt für: