/// <summary> Get the properties of the manifest that uniquely identifies this artifact. </summary> /// <param name="cancellationToken"> The cancellation token to use. </param> /// <exception cref="RequestFailedException">Thrown when a failure is returned by the Container Registry service.</exception> public virtual async Task <Response <ArtifactManifestProperties> > GetManifestPropertiesAsync(CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(RegistryArtifact)}.{nameof(GetManifestProperties)}"); scope.Start(); try { string digest = await GetDigestAsync(cancellationToken).ConfigureAwait(false); return(await _restClient.GetManifestPropertiesAsync(_repositoryName, digest, cancellationToken).ConfigureAwait(false)); } catch (Exception e) { scope.Failed(e); throw; } }