Skip to content

Commit

Permalink
Merge pull request Azure#3 from SubaMoorthy/referenceCommonSystemData
Browse files Browse the repository at this point in the history
Reference common system data
  • Loading branch information
zhaomuzhi authored Mar 2, 2021
2 parents d346094 + 63d49cf commit 36d6366
Showing 1 changed file with 1 addition and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3020,8 +3020,7 @@
"description": "The sku of the workspace."
},
"systemData": {
"$ref": "#/definitions/SystemData",
"readOnly": true
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
}
},
Expand Down Expand Up @@ -4593,52 +4592,6 @@
}
]
},
"SystemData": {
"description": "Read only system data",
"type": "object",
"properties": {
"createdBy": {
"type": "string",
"description": "An identifier for the identity that created the resource"
},
"createdByType": {
"$ref": "#/definitions/IdentityType",
"description": "The type of identity that created the resource"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of resource creation (UTC)"
},
"lastModifiedBy": {
"type": "string",
"description": "An identifier for the identity that last modified the resource"
},
"lastModifiedByType": {
"$ref": "#/definitions/IdentityType",
"description": "The type of identity that last modified the resource"
},
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of resource last modification (UTC)"
}
}
},
"IdentityType": {
"description": "The type of identity that creates/modifies resources",
"type": "string",
"enum": [
"user",
"application",
"managedIdentity",
"key"
],
"x-ms-enum": {
"name": "IdentityType",
"modelAsString": true
}
},
"ServiceResponseBase": {
"description": "The base service response. The correct inherited response based on computeType will be returned (ex. ACIServiceResponse)",
"required": [
Expand Down

0 comments on commit 36d6366

Please sign in to comment.