IotHubCertificateDescriptionResource.Verify Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}/verify
- Operation Id: Certificates_Verify
- Default Api Version: 2023-06-30
- Resource: IotHubCertificateDescriptionResource
public virtual Azure.Response<Azure.ResourceManager.IotHub.IotHubCertificateDescriptionResource> Verify (string ifMatch, Azure.ResourceManager.IotHub.Models.IotHubCertificateVerificationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Verify : string * Azure.ResourceManager.IotHub.Models.IotHubCertificateVerificationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.IotHubCertificateDescriptionResource>
override this.Verify : string * Azure.ResourceManager.IotHub.Models.IotHubCertificateVerificationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.IotHubCertificateDescriptionResource>
Public Overridable Function Verify (ifMatch As String, content As IotHubCertificateVerificationContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IotHubCertificateDescriptionResource)
Parameters
- ifMatch
- String
ETag of the Certificate.
The name of the certificate.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
ifMatch
or content
is null.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET