/// <summary>
 /// Gets an existing attestation at resource scope.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceId'>
 /// Resource ID.
 /// </param>
 /// <param name='attestationName'>
 /// The name of the attestation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <Attestation> GetAtResourceAsync(this IAttestationsOperations operations, string resourceId, string attestationName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetAtResourceWithHttpMessagesAsync(resourceId, attestationName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }