Skip to content

Commit b5b3ae9

Browse files
kaiqzhanKaiqi Zhang
andauthored
AKS: replace CloudError with ManagedClusterPodIdentityProvisioningError for AAD pod identity provisioning spec (#15054)
Co-authored-by: Kaiqi Zhang <kaiqzhan@microsoft.com>
1 parent a2792ff commit b5b3ae9

File tree

1 file changed

+36
-1
lines changed
  • specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2021-05-01

1 file changed

+36
-1
lines changed

specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2021-05-01/managedClusters.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3845,7 +3845,7 @@
38453845
"readOnly": true,
38463846
"properties": {
38473847
"error": {
3848-
"$ref": "#/definitions/CloudError",
3848+
"$ref": "#/definitions/ManagedClusterPodIdentityProvisioningError",
38493849
"description": "Pod identity assignment error (if any)."
38503850
}
38513851
}
@@ -3858,6 +3858,41 @@
38583858
],
38593859
"description": "Details about the pod identity assigned to the Managed Cluster."
38603860
},
3861+
"ManagedClusterPodIdentityProvisioningError": {
3862+
"type": "object",
3863+
"properties": {
3864+
"error": {
3865+
"$ref": "#/definitions/ManagedClusterPodIdentityProvisioningErrorBody",
3866+
"description": "Details about the error."
3867+
}
3868+
},
3869+
"description": "An error response from the pod identity provisioning."
3870+
},
3871+
"ManagedClusterPodIdentityProvisioningErrorBody": {
3872+
"type": "object",
3873+
"properties": {
3874+
"code": {
3875+
"type": "string",
3876+
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
3877+
},
3878+
"message": {
3879+
"type": "string",
3880+
"description": "A message describing the error, intended to be suitable for display in a user interface."
3881+
},
3882+
"target": {
3883+
"type": "string",
3884+
"description": "The target of the particular error. For example, the name of the property in error."
3885+
},
3886+
"details": {
3887+
"type": "array",
3888+
"items": {
3889+
"$ref": "#/definitions/ManagedClusterPodIdentityProvisioningErrorBody"
3890+
},
3891+
"description": "A list of additional details about the error."
3892+
}
3893+
},
3894+
"description": "An error response from the pod identity provisioning."
3895+
},
38613896
"ManagedClusterPodIdentityException": {
38623897
"properties": {
38633898
"name": {

0 commit comments

Comments
 (0)