Skip to content

Commit

Permalink
Try to use the common type for SystemData
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacheng-L committed Mar 30, 2021
1 parent 026cb50 commit c178e6b
Showing 1 changed file with 1 addition and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1533,8 +1533,7 @@
"description": "Tags assigned to the key vault resource."
},
"systemData": {
"description": "System metadata for the key vault.",
"$ref": "#/definitions/SystemData"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
},
"properties": {
"$ref": "#/definitions/VaultProperties",
Expand Down Expand Up @@ -1935,53 +1934,6 @@
}
},
"description": "Properties of a private link resource."
},
"SystemData": {
"description": "Metadata pertaining to creation and last modification of key vault resource.",
"type": "object",
"readOnly": true,
"properties": {
"createdBy": {
"type": "string",
"description": "The identity that created key vault resource."
},
"createdByType": {
"description": "The type of identity that created key vault resource.",
"$ref": "#/definitions/IdentityType"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of key vault resource creation (UTC)."
},
"lastModifiedBy": {
"type": "string",
"description": "The identity that last modified key vault resource."
},
"lastModifiedByType": {
"description": "The type of identity that last modified key vault resource.",
"$ref": "#/definitions/IdentityType"
},
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of key vault resource last modification (UTC)."
}
}
},
"IdentityType": {
"type": "string",
"description": "The type of identity.",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
],
"x-ms-enum": {
"name": "identityType",
"modelAsString": true
}
}
},
"parameters": {
Expand Down

0 comments on commit c178e6b

Please sign in to comment.