contacts
Creates, updates, deletes, gets or lists a contacts
resource.
Overview
Name | contacts |
Type | Resource |
Id | azure.orbital.contacts |
Fields
- vw_contacts
- contacts
Name | Datatype | Description |
---|---|---|
antenna_configuration | text | field from the properties object |
contactName | text | field from the properties object |
contact_profile | text | field from the properties object |
end_azimuth_degrees | text | field from the properties object |
end_elevation_degrees | text | field from the properties object |
error_message | text | field from the properties object |
ground_station_name | text | field from the properties object |
maximum_elevation_degrees | text | field from the properties object |
provisioning_state | text | field from the properties object |
reservation_end_time | text | field from the properties object |
reservation_start_time | text | field from the properties object |
resourceGroupName | text | field from the properties object |
rx_end_time | text | field from the properties object |
rx_start_time | text | field from the properties object |
spacecraftName | text | field from the properties object |
start_azimuth_degrees | text | field from the properties object |
start_elevation_degrees | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
tx_end_time | text | field from the properties object |
tx_start_time | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Properties of the Contact Resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | contactName, resourceGroupName, spacecraftName, subscriptionId | Gets the specified contact in a specified resource group. |
list | SELECT | resourceGroupName, spacecraftName, subscriptionId | Returns list of contacts by spacecraftName. |
create | INSERT | contactName, resourceGroupName, spacecraftName, subscriptionId, data__properties | Creates a contact. |
delete | DELETE | contactName, resourceGroupName, spacecraftName, subscriptionId | Deletes a specified contact. |
SELECT
examples
Returns list of contacts by spacecraftName.
- vw_contacts
- contacts
SELECT
antenna_configuration,
contactName,
contact_profile,
end_azimuth_degrees,
end_elevation_degrees,
error_message,
ground_station_name,
maximum_elevation_degrees,
provisioning_state,
reservation_end_time,
reservation_start_time,
resourceGroupName,
rx_end_time,
rx_start_time,
spacecraftName,
start_azimuth_degrees,
start_elevation_degrees,
status,
subscriptionId,
tx_end_time,
tx_start_time
FROM azure.orbital.vw_contacts
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND spacecraftName = '{{ spacecraftName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.orbital.contacts
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND spacecraftName = '{{ spacecraftName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new contacts
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.orbital.contacts (
contactName,
resourceGroupName,
spacecraftName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ contactName }}',
'{{ resourceGroupName }}',
'{{ spacecraftName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: status
value: string
- name: reservationStartTime
value: string
- name: reservationEndTime
value: string
- name: rxStartTime
value: string
- name: rxEndTime
value: string
- name: txStartTime
value: string
- name: txEndTime
value: string
- name: errorMessage
value: string
- name: maximumElevationDegrees
value: number
- name: startAzimuthDegrees
value: number
- name: endAzimuthDegrees
value: number
- name: groundStationName
value: string
- name: startElevationDegrees
value: number
- name: endElevationDegrees
value: number
- name: antennaConfiguration
value:
- name: destinationIp
value: string
- name: sourceIps
value:
- string
- name: contactProfile
value: string
DELETE
example
Deletes the specified contacts
resource.
/*+ delete */
DELETE FROM azure.orbital.contacts
WHERE contactName = '{{ contactName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND spacecraftName = '{{ spacecraftName }}'
AND subscriptionId = '{{ subscriptionId }}';