Web Apps - Get App Settings Key Vault References Slot
앱의 구성 참조 앱 설정 및 상태 가져오기에 대한 설명
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/configreferences/appsettings?api-version=2023-12-01
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
name
|
path | True |
string |
응용 프로그램의 이름입니다. |
resource
|
path | True |
string |
리소스가 속한 리소스 그룹의 이름입니다. Regex pattern: |
slot
|
path | True |
string |
|
subscription
|
path | True |
string |
Azure 구독 ID. GUID 형식 문자열입니다(예: 00000000-0000-0000-0000-0000-00000000000). |
api-version
|
query | True |
string |
API 버전 |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
정상 |
|
Other Status Codes |
오류 응답을 App Service. |
보안
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 | 사용자 계정 가장 |
예제
Get Azure Key Vault references for app settings for slot
Sample Request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings?api-version=2023-12-01
Sample Response
{
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/secretName",
"properties": {
"vaultName": "keyVaultName",
"secretName": "secretName",
"secretVersion": "secretVersion"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testc6282/slots/stage/config/configreferences/appsettings/secretName2",
"properties": {
"vaultName": "keyVaultName",
"secretName": "secretName2",
"secretVersion": "secretVersion2"
}
}
]
}
정의
Name | Description |
---|---|
Api |
사이트 키 자격 증명 모음 참조에 대한 설명입니다. |
Api |
|
Config |
|
Default |
오류 응답을 App Service. |
Details | |
Error |
오류 모델. |
Managed |
관리 서비스 ID. |
Managed |
관리 서비스 ID의 유형입니다. |
Resolve |
|
user |
사용자 할당 ID. |
ApiKVReference
사이트 키 자격 증명 모음 참조에 대한 설명입니다.
Name | 형식 | Description |
---|---|---|
id |
string |
리소스 ID입니다. |
kind |
string |
리소스 종류입니다. |
name |
string |
리소스 이름입니다. |
properties.activeVersion |
string |
|
properties.details |
string |
|
properties.identityType |
관리 서비스 ID. |
|
properties.reference |
string |
|
properties.secretName |
string |
|
properties.secretVersion |
string |
|
properties.source | ||
properties.status | ||
properties.vaultName |
string |
|
type |
string |
리소스 종류. |
ApiKVReferenceCollection
Name | 형식 | Description |
---|---|---|
nextLink |
string |
리소스의 다음 페이지에 연결합니다. |
value |
리소스 컬렉션입니다. |
ConfigReferenceSource
Name | 형식 | Description |
---|---|---|
KeyVault |
string |
DefaultErrorResponse
오류 응답을 App Service.
Name | 형식 | Description |
---|---|---|
error |
오류 모델. |
Details
Name | 형식 | Description |
---|---|---|
code |
string |
프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다. |
message |
string |
자세한 오류 설명 및 디버깅 정보입니다. |
target |
string |
자세한 오류 설명 및 디버깅 정보입니다. |
Error
오류 모델.
Name | 형식 | Description |
---|---|---|
code |
string |
프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다. |
details |
Details[] |
자세한 오류입니다. |
innererror |
string |
디버그 오류에 대한 자세한 정보입니다. |
message |
string |
자세한 오류 설명 및 디버깅 정보입니다. |
target |
string |
자세한 오류 설명 및 디버깅 정보입니다. |
ManagedServiceIdentity
관리 서비스 ID.
Name | 형식 | Description |
---|---|---|
principalId |
string |
관리 서비스 ID의 보안 주체 ID입니다. |
tenantId |
string |
관리 서비스 ID의 테넌트입니다. |
type |
관리 서비스 ID의 유형입니다. |
|
userAssignedIdentities |
<string,
user |
리소스와 연결된 사용자 할당 ID 목록입니다. 사용자 ID 사전 키 참조는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다. |
ManagedServiceIdentityType
관리 서비스 ID의 유형입니다.
Name | 형식 | Description |
---|---|---|
None |
string |
|
SystemAssigned |
string |
|
SystemAssigned, UserAssigned |
string |
|
UserAssigned |
string |
ResolveStatus
Name | 형식 | Description |
---|---|---|
AccessToKeyVaultDenied |
string |
|
FetchTimedOut |
string |
|
Initialized |
string |
|
InvalidSyntax |
string |
|
MSINotEnabled |
string |
|
OtherReasons |
string |
|
Resolved |
string |
|
SecretNotFound |
string |
|
SecretVersionNotFound |
string |
|
UnauthorizedClient |
string |
|
VaultNotFound |
string |
userAssignedIdentity
사용자 할당 ID.
Name | 형식 | Description |
---|---|---|
clientId |
string |
사용자 할당 ID의 클라이언트 ID |
principalId |
string |
사용자 할당 ID의 보안 주체 ID |