共用方式為


AppServiceCertificateOrderCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}
  • Operation Id: AppServiceCertificateOrders_Get
  • Default Api Version: 2023-12-01
  • Resource: AppServiceCertificateOrderResource
public virtual Azure.NullableResponse<Azure.ResourceManager.AppService.AppServiceCertificateOrderResource> GetIfExists (string certificateOrderName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppService.AppServiceCertificateOrderResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppService.AppServiceCertificateOrderResource>
Public Overridable Function GetIfExists (certificateOrderName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of AppServiceCertificateOrderResource)

Parameters

certificateOrderName
String

Name of the certificate order..

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

certificateOrderName is null.

Applies to