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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET