mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 13:27:23 +00:00
Clarifying SasUrl example and text
This commit is contained in:
parent
40a1c110e1
commit
2c9e7c54a8
@ -56,21 +56,16 @@ The supported operations are Add and Execute.
|
|||||||
The data type is string.
|
The data type is string.
|
||||||
|
|
||||||
Expected value:
|
Expected value:
|
||||||
Set and Execute are functionality equivalent, and each accepts an XML snippet (as a string) describing what data to gather and where to upload it.
|
Set and Execute are functionality equivalent, and each accepts a `Collection` XML snippet (as a string) describing what data to gather and where to upload it. The results are zipped and uploaded to the specified SasUrl. The zipped filename format is "DiagLogs-{ComputerName}-YYYYMMDDTHHMMSSZ.zip".
|
||||||
|
|
||||||
The following is an example of the XML. This example instructs the CSP to gather:
|
The following is an example of a `Collection` XML.
|
||||||
- All the keys and values under a registry path
|
|
||||||
- All the *.etl files in a folder
|
|
||||||
- The output of two commands
|
|
||||||
- Additional files created by one of the commands
|
|
||||||
- All the Application event log events.
|
|
||||||
|
|
||||||
The results are zipped and uploaded to the specified SasUrl. The filename format is "DiagLogs-{ComputerName}-YYYYMMDDTHHMMSSZ.zip".
|
|
||||||
|
|
||||||
``` xml
|
``` xml
|
||||||
<Collection>
|
<Collection>
|
||||||
<ID>server generated guid value such as f1e20cb4-9789-4f6b-8f6a-766989764c6d</ID>
|
<!--NOTE: The value shown here is an example only, for more information see the ID documentation which follows the example -->
|
||||||
<SasUrl>server generated url where the HTTP PUT will be accepted</SasUrl>
|
<ID>f1e20cb4-9789-4f6b-8f6a-766989764c6d</ID>
|
||||||
|
<!--NOTE: The value shown here is an example only, for more information see the SasUrl documentation which follows the example -->
|
||||||
|
<SasUrl><![CDATA[https://myaccount.blob.core.windows.net/mycontainer?sp=aw&st=2020-07-01T23:02:07Z&se=2020-07-02T23:02:07Z&sv=2019-10-10&sr=c&sig=wx9%2FhwrczAI0nZL7zl%2BhfZVfOBvboTAnrGYfjlO%2FRFA%3D]]></SasUrl>
|
||||||
<RegistryKey>HKLM\Software\Policies</RegistryKey>
|
<RegistryKey>HKLM\Software\Policies</RegistryKey>
|
||||||
<FoldersFiles>%ProgramData%\Microsoft\DiagnosticLogCSP\Collectors\*.etl</FoldersFiles>
|
<FoldersFiles>%ProgramData%\Microsoft\DiagnosticLogCSP\Collectors\*.etl</FoldersFiles>
|
||||||
<Command>%windir%\system32\ipconfig.exe /all</Command>
|
<Command>%windir%\system32\ipconfig.exe /all</Command>
|
||||||
@ -83,15 +78,13 @@ The results are zipped and uploaded to the specified SasUrl. The filename format
|
|||||||
The XML should include the following elements within the `Collection` element:
|
The XML should include the following elements within the `Collection` element:
|
||||||
|
|
||||||
**ID**
|
**ID**
|
||||||
The ID value is a server-generated GUID string that identifies this data-gathering request. To avoid accidental repetition of data gathering, the CSP ignores subsequent Set or Execute invocations with the same ID value.
|
The ID value uniquely identifies this data-gathering request. To avoid accidental repetition of data gathering, the CSP ignores subsequent Set or Execute invocations with the same ID value. The CSP expects the value to be populated when the request is recieved, so it must be generated by the IT admin or the management server.
|
||||||
|
|
||||||
**SasUrl**
|
**SasUrl**
|
||||||
The SasUrl value is the target URI to which the CSP uploads the results zip file. It is the responsibility of the management server to provision storage in such a way that the server accepts the HTTP PUT to this URL. For example, the device management service could:
|
The SasUrl value is the target URI to which the CSP uploads the zip file containing the gathered data. It is the responsibility of the management server to provision storage in such a way that the storage server accepts the device's HTTP PUT to this URL. For example, the device management service could:
|
||||||
- Provision cloud storage, such as an Azure blob storage container or other storage managed by the device management server
|
- Provision cloud storage reachable by the target device, such as a Microsoft Azure blob storage container
|
||||||
- Generate a dynamic https SAS token URL representing the storage location (and which is understood by the server to allow a one-time upload or time-limited uploads)
|
- Generate a Shared Access Signature URL granting the posessor (the target device) time-limited write access to the storage container
|
||||||
- Pass this value to the CSP as the SasUrl value.
|
- Pass this value to the CSP on the target device through the `Collection` XML as the `SasUrl` value.
|
||||||
|
|
||||||
Assuming a case where the management server's customer (such as an IT admin) is meant to access the data, the management server would also expose the stored data through its user interface or APIs.
|
|
||||||
|
|
||||||
**One or more data gathering directives, which may include any of the following:**
|
**One or more data gathering directives, which may include any of the following:**
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user