Skip to content

Commit

Permalink
CodeGen from PR 16947 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Adding UAMI properties to the swagger (#16947)

* Adding UAMI properties to the swagger

* Update readme.go.md

* fixing invalid exmaples of uuid

* Update readme.go.md

Co-authored-by: ArcturusZhang <dapzhang@microsoft.com>
  • Loading branch information
SDKAuto and ArcturusZhang committed Jan 5, 2022
1 parent d352146 commit d4c6ae4
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions schemas/2021-07-01/Microsoft.Purview.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
],
"description": "External Cloud Service connectors"
},
"managedResourceGroupName": {
"type": "string",
Expand Down Expand Up @@ -201,7 +202,8 @@
},
"CloudConnectors": {
"type": "object",
"properties": {}
"properties": {},
"description": "External Cloud Service connectors"
},
"Identity": {
"type": "object",
Expand All @@ -211,14 +213,31 @@
{
"type": "string",
"enum": [
"SystemAssigned"
"None",
"SystemAssigned",
"UserAssigned"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Identity Type."
},
"userAssignedIdentities": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/UserAssignedIdentity"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "User Assigned Identities"
}
},
"description": "The Managed Identity of the resource"
Expand Down Expand Up @@ -292,6 +311,11 @@
}
},
"description": "The private link service connection state."
},
"UserAssignedIdentity": {
"type": "object",
"properties": {},
"description": "Uses client ID and Principal ID"
}
}
}

0 comments on commit d4c6ae4

Please sign in to comment.