Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACR] SystemData and new readonly KeyVaultProperties #11601

Merged
merged 3 commits into from
Nov 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,33 @@
}
}
},
"ProxyResource": {
"description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.",
"properties": {
"id": {
"description": "The resource ID.",
"type": "string",
"readOnly": true
},
"name": {
"description": "The name of the resource.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The type of the resource.",
"type": "string",
"readOnly": true
},
"systemData": {
"$ref": "#/definitions/SystemData",
"description": "Metadata pertaining to creation and last modification of the resource.",
"type": "object",
"readOnly": true
}
},
"x-ms-azure-resource": true
},
"ScopeMapProperties": {
"description": "The properties of a scope map.",
"required": [
Expand Down Expand Up @@ -886,26 +913,58 @@
}
}
},
"ProxyResource": {
"description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.",
"SystemData": {
hkuadithya marked this conversation as resolved.
Show resolved Hide resolved
"description": "Metadata pertaining to creation and last modification of the resource.",
"type": "object",
"properties": {
"id": {
"description": "The resource ID.",
"type": "string",
"readOnly": true
"createdBy": {
"description": "The identity that created the resource.",
"type": "string"
},
"name": {
"description": "The name of the resource.",
"createdByType": {
"description": "The type of identity that created the resource.",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
],
"type": "string",
"readOnly": true
"x-ms-enum": {
"name": "createdByType",
"modelAsString": true
}
},
"type": {
"description": "The type of the resource.",
"createdAt": {
"format": "date-time",
"description": "The timestamp of resource creation (UTC).",
"type": "string"
},
"lastModifiedBy": {
"description": "The identity that last modified the resource.",
"type": "string"
},
"lastModifiedByType": {
"description": "The type of identity that last modified the resource.",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
],
"type": "string",
"readOnly": true
"x-ms-enum": {
"name": "lastModifiedByType",
"modelAsString": true
}
},
"lastModifiedAt": {
"format": "date-time",
"description": "The timestamp of resource modification (UTC).",
"type": "string"
}
},
"x-ms-azure-resource": true
"readOnly": true
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2974,6 +2974,12 @@
"additionalProperties": {
"type": "string"
}
},
"systemData": {
"$ref": "#/definitions/SystemData",
"description": "Metadata pertaining to creation and last modification of the resource.",
"type": "object",
"readOnly": true
}
},
"x-ms-azure-resource": true
Expand All @@ -2995,10 +3001,69 @@
"description": "The type of the resource.",
"type": "string",
"readOnly": true
},
"systemData": {
"$ref": "#/definitions/SystemData",
"description": "Metadata pertaining to creation and last modification of the resource.",
"type": "object",
"readOnly": true
}
},
"x-ms-azure-resource": true
},
"SystemData": {
"description": "Metadata pertaining to creation and last modification of the resource.",
"type": "object",
"properties": {
"createdBy": {
"description": "The identity that created the resource.",
"type": "string"
},
"createdByType": {
"description": "The type of identity that created the resource.",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
],
"type": "string",
"x-ms-enum": {
"name": "createdByType",
"modelAsString": true
}
},
"createdAt": {
"format": "date-time",
"description": "The timestamp of resource creation (UTC).",
"type": "string"
},
"lastModifiedBy": {
"description": "The identity that last modified the resource.",
"type": "string"
},
"lastModifiedByType": {
"description": "The type of identity that last modified the resource.",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
],
"type": "string",
"x-ms-enum": {
"name": "lastModifiedByType",
"modelAsString": true
}
},
"lastModifiedAt": {
"format": "date-time",
"description": "The timestamp of resource modification (UTC).",
"type": "string"
}
},
"readOnly": true
},
"ErrorResponseBody": {
"description": "An error response from the Azure Container Registry service.",
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1855,6 +1855,33 @@
}
}
},
"ProxyResource": {
"description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.",
"properties": {
"id": {
"description": "The resource ID.",
"type": "string",
"readOnly": true
},
"name": {
"description": "The name of the resource.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The type of the resource.",
"type": "string",
"readOnly": true
},
"systemData": {
"$ref": "#/definitions/SystemData",
"description": "Metadata pertaining to creation and last modification of the resource.",
"type": "object",
"readOnly": true
}
},
"x-ms-azure-resource": true
},
"ExportPipelineProperties": {
"description": "The properties of an export pipeline.",
"required": [
Expand Down Expand Up @@ -3089,6 +3116,17 @@
"identity": {
"description": "The client id of the identity which will be used to access key vault.",
"type": "string"
},
"keyRotationEnabled": {
"description": "Auto key rotation status for a CMK enabled registry.",
"type": "boolean",
"readOnly": true
},
"lastKeyRotationTimestamp": {
"format": "date-time",
"description": "Timestamp of the last successful key rotation.",
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -3931,27 +3969,6 @@
}
}
},
"ProxyResource": {
"description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.",
"properties": {
"id": {
"description": "The resource ID.",
"type": "string",
"readOnly": true
},
"name": {
"description": "The name of the resource.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The type of the resource.",
"type": "string",
"readOnly": true
}
},
"x-ms-azure-resource": true
},
"Resource": {
"description": "An Azure resource.",
"required": [
Expand Down Expand Up @@ -3987,9 +4004,68 @@
"additionalProperties": {
"type": "string"
}
},
"systemData": {
"$ref": "#/definitions/SystemData",
"description": "Metadata pertaining to creation and last modification of the resource.",
"type": "object",
"readOnly": true
}
},
"x-ms-azure-resource": true
},
"SystemData": {
"description": "Metadata pertaining to creation and last modification of the resource.",
"type": "object",
"properties": {
"createdBy": {
"description": "The identity that created the resource.",
"type": "string"
},
"createdByType": {
"description": "The type of identity that created the resource.",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
],
"type": "string",
"x-ms-enum": {
"name": "createdByType",
"modelAsString": true
}
},
"createdAt": {
"format": "date-time",
"description": "The timestamp of resource creation (UTC).",
"type": "string"
},
"lastModifiedBy": {
"description": "The identity that last modified the resource.",
"type": "string"
},
"lastModifiedByType": {
"description": "The type of identity that last modified the resource.",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
],
"type": "string",
"x-ms-enum": {
"name": "lastModifiedByType",
"modelAsString": true
}
},
"lastModifiedAt": {
"format": "date-time",
"description": "The timestamp of resource modification (UTC).",
"type": "string"
}
},
"readOnly": true
}
},
"parameters": {
Expand Down