WebPubSubResource.GetWebPubSubCustomCertificateAsync Method

Definition

Get a custom certificate.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubCustomCertificateResource>> GetWebPubSubCustomCertificateAsync(string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebPubSubCustomCertificateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubCustomCertificateResource>>
override this.GetWebPubSubCustomCertificateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubCustomCertificateResource>>
Public Overridable Function GetWebPubSubCustomCertificateAsync (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebPubSubCustomCertificateResource))

Parameters

certificateName
String

Custom certificate name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

certificateName is null.

certificateName is an empty string, and was expected to be non-empty.

Applies to