@@ -23,11 +23,11 @@ and [Resource Graph samples by Table](../governance/resource-graph/samples/sampl
23
23
24
24
``` kusto
25
25
OrbitalResources
26
- | where type == 'microsoft.orbital/spacecrafts/contacts' and todatetime(properties.reservationStartTime) >= now()
27
- | sort by todatetime(properties.reservationStartTime)
28
- | extend Contact_Profile = tostring(split(properties.contactProfile.id, "/")[-1])
29
- | extend Spacecraft = tostring(split(id, "/")[-3])
30
- | project Contact = tostring(name), Groundstation = tostring(properties.groundStationName), Spacecraft, Contact
26
+ | where type == 'microsoft.orbital/spacecrafts/contacts' and todatetime(properties.reservationStartTime) >= now()
27
+ | sort by todatetime(properties.reservationStartTime)
28
+ | extend Contact_Profile = tostring(split(properties.contactProfile.id, "/")[-1])
29
+ | extend Spacecraft = tostring(split(id, "/")[-3])
30
+ | project Contact = tostring(name), Groundstation = tostring(properties.groundStationName), Spacecraft, Contact_Profile, Status=properties.status, Provisioning_Status=properties.provisioningState
31
31
```
32
32
33
33
#### Sorted by ground station
@@ -46,16 +46,18 @@ OrbitalResources
46
46
``` kusto
47
47
OrbitalResources
48
48
| where type == 'microsoft.orbital/spacecrafts/contacts'
49
- | where todatetime(properties.reservationStartTime) >= now()
50
- | sort by Contact_Profile
49
+ | where todatetime(properties.reservationStartTime) >= now()
51
50
| extend Contact_Profile = tostring(split(properties.contactProfile.id, "/")[-1])
51
+ | sort by Contact_Profile
52
52
| extend Spacecraft = tostring(split(id, "/")[-3])
53
- | project Contact = tostring(name), Groundstation = tostring(properties.groundStationName), Spacecraft, Contact_Profile, Reservation_Start_Time = todatetime(properties.reservationStartTime), Reservation_End_Time = todatetime(properties.reservationEndTime), Status=properties.status, Provisioning_Status=properties.provisioningState
53
+ | project Contact = tostring(name), Groundstation = tostring(properties.groundStationName), Spacecraft, Contact_Profile, Reservation_Start_Time = todatetime(properties.reservationStartTime), Reservation_End_Time = todatetime(properties.reservationEndTime), Status=properties.status, Provisioning_Status=properties.provisioningState
54
54
```
55
55
56
- ### List Contacts from Past ‘x’ Days – sorted by reservation start time
56
+ ### List Contacts from Past ‘x’ Days
57
57
58
- ``` kusto
58
+ #### Sorted by reservation start time
59
+
60
+ ``` kust
59
61
OrbitalResources
60
62
| where type == 'microsoft.orbital/spacecrafts/contacts' and todatetime(properties.reservationStartTime) >= now(-1d)
61
63
| sort by todatetime(properties.reservationStartTime)
0 commit comments