Condividi tramite


ArtifactSigningAccountCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}.
  • Operation Id. : CodeSigningAccounts_Get.
  • Default Api Version. : 2025-10-13.
public virtual Azure.NullableResponse<Azure.ResourceManager.ArtifactSigning.ArtifactSigningAccountResource> GetIfExists(string accountName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ArtifactSigning.ArtifactSigningAccountResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ArtifactSigning.ArtifactSigningAccountResource>
Public Overridable Function GetIfExists (accountName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ArtifactSigningAccountResource)

Parameters

accountName
String

Artifact Signing account name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

accountName is null.

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

Applies to