Skip to main content

contacts

Creates, updates, deletes, gets or lists a contacts resource.

Overview

Namecontacts
TypeResource
Idazure.orbital.contacts

Fields

NameDatatypeDescription
antenna_configurationtextfield from the properties object
contactNametextfield from the properties object
contact_profiletextfield from the properties object
end_azimuth_degreestextfield from the properties object
end_elevation_degreestextfield from the properties object
error_messagetextfield from the properties object
ground_station_nametextfield from the properties object
maximum_elevation_degreestextfield from the properties object
provisioning_statetextfield from the properties object
reservation_end_timetextfield from the properties object
reservation_start_timetextfield from the properties object
resourceGroupNametextfield from the properties object
rx_end_timetextfield from the properties object
rx_start_timetextfield from the properties object
spacecraftNametextfield from the properties object
start_azimuth_degreestextfield from the properties object
start_elevation_degreestextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
tx_end_timetextfield from the properties object
tx_start_timetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcontactName, resourceGroupName, spacecraftName, subscriptionIdGets the specified contact in a specified resource group.
listSELECTresourceGroupName, spacecraftName, subscriptionIdReturns list of contacts by spacecraftName.
createINSERTcontactName, resourceGroupName, spacecraftName, subscriptionId, data__propertiesCreates a contact.
deleteDELETEcontactName, resourceGroupName, spacecraftName, subscriptionIdDeletes a specified contact.

SELECT examples

Returns list of contacts by spacecraftName.

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new contacts resource.

/*+ create */
INSERT INTO azure.orbital.contacts (
contactName,
resourceGroupName,
spacecraftName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ contactName }}',
'{{ resourceGroupName }}',
'{{ spacecraftName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

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 }}';