ProvisioningServiceClient.GetEnrollmentGroupAttestationAsync 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.
Retrieve the enrollmentGroup attestation information.
public System.Threading.Tasks.Task<Microsoft.Azure.Devices.Provisioning.Service.AttestationMechanism> GetEnrollmentGroupAttestationAsync (string enrollmentGroupId, System.Threading.CancellationToken cancellationToken = default);
member this.GetEnrollmentGroupAttestationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Provisioning.Service.AttestationMechanism>
Public Function GetEnrollmentGroupAttestationAsync (enrollmentGroupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AttestationMechanism)
Parameters
- enrollmentGroupId
- String
the string
that identifies the enrollmentGroup. It cannot be null
or empty.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The AttestationMechanism associated with the provided group Id.
Remarks
If the provided group id does not match up with any enrollment group, this method will throw ProvisioningServiceClientException.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET