Sprog

ContainerRegistryCredentialSetCollection.Get Method

Definition

Gets the properties of the specified credential set resource.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}.
  • Operation Id. : CredentialSets_Get.
  • Default Api Version. : 2026-09-01-preview.
public virtual Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryCredentialSetResource> Get(string credentialSetName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryCredentialSetResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryCredentialSetResource>
Public Overridable Function Get (credentialSetName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerRegistryCredentialSetResource)

Parameters

credentialSetName
String

The name of the credential set.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

credentialSetName is null.

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

Applies to