Web Apps - Get Site Connection String Key Vault Reference
获取应用的配置引用和状态的说明
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey}?api-version=2025-03-01
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
connection
|
path | True |
string |
|
|
name
|
path | True |
string |
应用的名称。 |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
资源所属的资源组的名称。 |
|
subscription
|
path | True |
string |
Azure 订阅 ID。 这是 GUID 格式的字符串(例如 000000000-0000-0000-0000-00000000000000)。 |
|
api-version
|
query | True |
string |
API 版本 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
好的 |
|
| Other Status Codes |
应用服务错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 模拟用户帐户 |
定义
| 名称 | 说明 |
|---|---|
|
Api |
站点密钥保管库引用的说明。 |
|
Config |
|
|
Default |
应用服务错误响应。 |
| Details | |
| Error |
错误模型。 |
|
Managed |
托管服务标识。 |
|
Managed |
托管服务标识的类型。 |
|
Resolve |
|
|
user |
用户分配的标识。 |
ApiKVReference
站点密钥保管库引用的说明。
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
资源 ID。 |
| kind |
string |
资源类型。 |
| name |
string |
资源名称。 |
| properties.activeVersion |
string |
|
| properties.details |
string |
|
| properties.identityType |
托管服务标识。 |
|
| properties.reference |
string |
|
| properties.secretName |
string |
|
| properties.secretVersion |
string |
|
| properties.source | ||
| properties.status | ||
| properties.vaultName |
string |
|
| type |
string |
资源类型。 |
ConfigReferenceSource
| 值 | 说明 |
|---|---|
| KeyVault |
DefaultErrorResponse
应用服务错误响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误模型。 |
Details
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
标准化字符串,以编程方式识别错误。 |
| message |
string |
详细的错误描述和调试信息。 |
| target |
string |
详细的错误描述和调试信息。 |
Error
错误模型。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
标准化字符串,以编程方式识别错误。 |
| details |
Details[] |
详细错误。 |
| innererror |
string |
调试错误的更多信息。 |
| message |
string |
详细的错误描述和调试信息。 |
| target |
string |
详细的错误描述和调试信息。 |
ManagedServiceIdentity
托管服务标识。
| 名称 | 类型 | 说明 |
|---|---|---|
| principalId |
string |
托管服务标识的主体 ID。 |
| tenantId |
string |
托管服务标识的租户。 |
| type |
托管服务标识的类型。 |
|
| userAssignedIdentities |
<string,
user |
与资源关联的用户分配标识的列表。 用户标识字典密钥引用的格式为 ARM 资源 ID:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} |
ManagedServiceIdentityType
托管服务标识的类型。
| 值 | 说明 |
|---|---|
| SystemAssigned | |
| UserAssigned | |
| SystemAssigned, UserAssigned | |
| None |
ResolveStatus
| 值 | 说明 |
|---|---|
| Initialized | |
| Resolved | |
| InvalidSyntax | |
| MSINotEnabled | |
| VaultNotFound | |
| SecretNotFound | |
| SecretVersionNotFound | |
| AccessToKeyVaultDenied | |
| OtherReasons | |
| FetchTimedOut | |
| UnauthorizedClient |
userAssignedIdentity
用户分配的标识。
| 名称 | 类型 | 说明 |
|---|---|---|
| clientId |
string |
用户分配标识的客户端 ID |
| principalId |
string |
用户分配标识的主体 ID |