Registries - List Credentials

Belirtilen kapsayıcı kayıt defteri için oturum açma kimlik bilgilerini Listeler.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials?api-version=2023-01-01-preview

URI Parametreleri

Name İçinde Gerekli Tür Description
registryName
path True

string

Kapsayıcı kayıt defterinin adı.

Regex pattern: ^[a-zA-Z0-9]*$

resourceGroupName
path True

string

Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir.

subscriptionId
path True

string

uuid

Hedef aboneliğin kimliği. Değer bir UUID olmalıdır.

api-version
query True

string

Bu işlem için kullanılacak API sürümü.

Yanıtlar

Name Tür Description
200 OK

RegistryListCredentialsResult

İstek başarılı oldu; alınan ve başarıyla döndürülen kimlik bilgilerinin listesi.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

RegistryListCredentials

Sample Request

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/listCredentials?api-version=2023-01-01-preview

Sample Response

{
  "username": "myRegistry",
  "passwords": [
    {
      "name": "password",
      "value": "00000000000000000000000000000000"
    },
    {
      "name": "password2",
      "value": "00000000000000000000000000000000"
    }
  ]
}

Tanımlar

Name Description
PasswordName

Parola adı.

RegistryListCredentialsResult

ListCredentials işleminden gelen yanıt.

RegistryPassword

Kapsayıcı kayıt defteri için oturum açma parolası.

PasswordName

Parola adı.

Name Tür Description
password

string

password2

string

RegistryListCredentialsResult

ListCredentials işleminden gelen yanıt.

Name Tür Description
passwords

RegistryPassword[]

Kapsayıcı kayıt defteri için parola listesi.

username

string

Kapsayıcı kayıt defterinin kullanıcı adı.

RegistryPassword

Kapsayıcı kayıt defteri için oturum açma parolası.

Name Tür Description
name

PasswordName

Parola adı.

value

string

Parola değeri.