Open philwelz opened 3 years ago
Related to #645.
FWIW, ARM automatically adds the systemData
object to all resources which includes the principal that created the resource and the lastUpdated time.
Adding this internal work-item tracking this same issue for context: https://msazure.visualstudio.com/One/_workitems/edit/7512394?src=WorkItemMention&src-action=artifact_link
@alex-frankel
FWIW, ARM automatically adds the
systemData
object to all resources which includes the principal that created the resource and the lastUpdated time.
That is very interesting. But how to get the systemData
object/properties? It seems that only some of the resource providers actually return the systemData
object during a GET
operation. Or is there a generic way to get it for any resource?
Unfortunately, if systemData
is not returned in the GET response, it means the RP has not implemented the capability. @jennyhunter-msft -- do you happen to know what the expectations are for when all RPs should have this implemented by?
Unfortunately, if
systemData
is not returned in the GET response, it means the RP has not implemented the capability. @jennyhunter-msft -- do you happen to know what the expectations are for when all RPs should have this implemented by?
Unfortunately, since systemData
inserts new properties, it requires a new api-version. We are actively blocking RPs from releasing new APIs until they have implemented systemData
. However, there's no clear timeline for when it will be available across all resource types.
Thanks @alex-frankel & @jennyhunter-msft for the explanation. That is perfectly fine. I have no urged need to have it immediately for all PR now. I just thought I missed something here. 😊
Is your feature request related to a problem? Please describe.
This feature request will enable us to tag all resources with the Azure Client ID (Application Object ID) of who created the resources. We have this as common use case with our customers when they work with several subscriptions.
Describe the solution you'd like
I would like to have a scope function similar to the
subscription
ortenant
function :