Find Site Status operation
The Find Site Status operation finds the status of a site.
The following table describes the <items>
XML elements for the Find Site Status operation:
Elements for the <items>
XML element and adapter request for the Find Site Status operation
Element |
Definition |
Required |
---|---|---|
|
Specifies the name of the operation: |
Yes |
|
Specifies a list of arguments required for this operation |
Yes |
|
Specifies the connection information for the Microsoft System Center Configuration Manager application |
No |
|
Specifies the availability state of the site system
|
No |
|
Specifies the amount of unused storage space in kilobytes for the storage object |
No |
|
Specifies the maximum amount of storage space in kilobytes of the storage object |
No |
|
Specifies the date and time when the storage object is first found to be down (inaccessible) |
No |
|
Specifies the type of object for which the status is being reported
|
No |
|
Specifies the percentage of free storage space available on the storage object |
No |
|
Specifies the Configuration Manager role performed by the site system
|
No |
|
Specifies the code of the Microsoft System Center Configuration Manager site |
No |
|
Specifies the status value indicating the health of the component
|
No |
The following figure shows a sample adapter request for the Find Site Status operation:
Sample adapter request for the Find Site Status operation
<mssccm-request>
<operation-name>find-site-status</operation-name>
<arguments>
<target>config1</target>
<availability-state>Online</availability-state>
<bytes-free>24315492</bytes-free>
<bytes-total>83875332</bytes-total>
<down-since />
<object-type>NALPATH</object-type>
<percent-free>28</percent-free>
<role>AI Update Service Point</role>
<site-code>123</site-code>
<status>OK</status>
</arguments>
</mssccm-request>
The following figure shows the adapter response for the sample request:
Sample adapter response for the Find Site Status operation
<mssccm-response>
<metadata>
<response-count>1</response-count>
<status>success</status>
</metadata>
<responses>
<response>
<metadata>
<target>config1</target>
<status>success</status>
<count>1</count>
</metadata>
<output>
<availability-state>Online</availability-state>
<bytes-free>24315492</bytes-free>
<bytes-total>83875332</bytes-total>
<down-since />
<object-type>NALPATH</object-type>
<percent-free>28</percent-free>
<role>AI Update Service Point</role>
<site-code>123</site-code>
<site-object>["Display=\\machine\C$\Program Files\Microsoft Configuration Manager\"]MSWNET:["SMS_SITE=123"]\\machine\C$\Program Files\Microsoft Configuration Manager\</site-object>
<site-system>
["Display=\\machine\"]MSWNET:["SMS_SITE=123"]\\machine\</site-system>
<status>OK</status>
</output>
</response>
</responses>
</mssccm-response>
Comments
Log in or register to comment.