WebPubSubResource.GetWebPubSubCustomCertificate Method

Definition

Get a custom certificate.

public virtual Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubCustomCertificateResource> GetWebPubSubCustomCertificate(string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebPubSubCustomCertificate : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubCustomCertificateResource>
override this.GetWebPubSubCustomCertificate : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubCustomCertificateResource>
Public Overridable Function GetWebPubSubCustomCertificate (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As 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