你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CodeTransparencyCertificateClient.GetServiceIdentity Method

Definition

Overloads

Name Description
GetServiceIdentity(String, RequestContext)

Gets identity information (TLS cert) for a service instance.

GetServiceIdentity(String, CancellationToken)

Gets identity information (TLS cert) for a service instance. Raw response could be null if the value is from cache.

GetServiceIdentity(String, RequestContext)

Source:
CodeTransparencyCertificateClient.cs

Gets identity information (TLS cert) for a service instance.

public virtual Azure.Response GetServiceIdentity(string ledgerId, Azure.RequestContext context);
abstract member GetServiceIdentity : string * Azure.RequestContext -> Azure.Response
override this.GetServiceIdentity : string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetServiceIdentity (ledgerId As String, context As RequestContext) As Response

Parameters

ledgerId
String

Id of the service instance to get information for.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

ledgerId is null.

ledgerId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

GetServiceIdentity(String, CancellationToken)

Source:
CodeTransparencyCertificateClient.cs

Gets identity information (TLS cert) for a service instance. Raw response could be null if the value is from cache.

public virtual Azure.Response<Azure.Security.CodeTransparency.ServiceIdentityResult> GetServiceIdentity(string ledgerId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceIdentity : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.CodeTransparency.ServiceIdentityResult>
override this.GetServiceIdentity : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.CodeTransparency.ServiceIdentityResult>
Public Overridable Function GetServiceIdentity (ledgerId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceIdentityResult)

Parameters

ledgerId
String

Id of the service instance to get information for.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

ledgerId is null.

ledgerId is an empty string, and was expected to be non-empty.

Applies to