Describe the bug
The name attribute is not returned in the JSON payload much like it is with Storage Accounts or other Azure resources.
azure-cli version 2.56.0
The JSON payload looks like the following:
[
{
"id": "/subscriptions/mySubscriptionID/resourceGroups/myResourceGroupName/providers/Microsoft.KeyVault/vaults/myKeyVaultName/privateEndpointConnections/myKeyVaultPrivateEndpointName",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/mySubscriptionID/resourceGroups/myResourceGroupName/providers/Microsoft.Network/privateEndpoints/myKeyVaultPrivateEndpointName",
"resourceGroup": "myResourceGroupName"
},
"privateLinkServiceConnectionState": {
"actionsRequired": "None",
"status": "Approved"
},
"provisioningState": "Succeeded"
},
"resourceGroup": "myResourceGroupName"
}
]
Related command
az network private-endpoint-connection list -g "ResourceGroupName" -n "KeyVaultName" --type Microsoft.KeyVault/vaults
Errors
There is no error returned, but the name attribute is not returned in the JSON payload much like it is with Storage Accounts or other Azure resources.
Issue script & Debug output
N/A
Expected behavior
The JSON should return the name attributes of all private endpoints for that queried resource.
Environment Summary
az --version
azure-cli 2.56.0
core 2.56.0
telemetry 1.1.0
Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2
Additional context
😕
Describe the bug
The
nameattribute is not returned in the JSON payload much like it is with Storage Accounts or other Azure resources.azure-cli version
2.56.0The JSON payload looks like the following:
[ { "id": "/subscriptions/mySubscriptionID/resourceGroups/myResourceGroupName/providers/Microsoft.KeyVault/vaults/myKeyVaultName/privateEndpointConnections/myKeyVaultPrivateEndpointName", "properties": { "privateEndpoint": { "id": "/subscriptions/mySubscriptionID/resourceGroups/myResourceGroupName/providers/Microsoft.Network/privateEndpoints/myKeyVaultPrivateEndpointName", "resourceGroup": "myResourceGroupName" }, "privateLinkServiceConnectionState": { "actionsRequired": "None", "status": "Approved" }, "provisioningState": "Succeeded" }, "resourceGroup": "myResourceGroupName" } ]Related command
az network private-endpoint-connection list -g "ResourceGroupName" -n "KeyVaultName" --type Microsoft.KeyVault/vaults
Errors
There is no error returned, but the
nameattribute is not returned in the JSON payload much like it is with Storage Accounts or other Azure resources.Issue script & Debug output
N/A
Expected behavior
The JSON should return the
nameattributes of all private endpoints for that queried resource.Environment Summary
az --version
azure-cli 2.56.0
core 2.56.0
telemetry 1.1.0
Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2
Additional context
😕