Skip to main content

contacts

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

Overview

Namecontacts
TypeResource
Idazure_extras.orbital.contacts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
antennaConfigurationobjectThe configuration associated with the allocated antenna.
contactProfileobjectThe reference to the contact profile resource. Required.
endAzimuthDegreesnumberAzimuth of the antenna at the end of the contact in decimal degrees.
endElevationDegreesnumberSpacecraft elevation above the horizon at contact end.
errorMessagestringAny error message while scheduling a contact.
groundStationNamestringAzure Ground Station name. Required.
maximumElevationDegreesnumberMaximum elevation of the antenna during the contact in decimal degrees.
provisioningStatestringThe current state of the resource's creation, deletion, or modification. Known values are: "creating", "succeeded", "failed", "canceled", "updating", and "deleting".
reservationEndTimestring (date-time)Reservation end time of a contact (ISO 8601 UTC standard). Required.
reservationStartTimestring (date-time)Reservation start time of a contact (ISO 8601 UTC standard). Required.
rxEndTimestring (date-time)Receive end time of a contact (ISO 8601 UTC standard).
rxStartTimestring (date-time)Receive start time of a contact (ISO 8601 UTC standard).
startAzimuthDegreesnumberAzimuth of the antenna at the start of the contact in decimal degrees.
startElevationDegreesnumberSpacecraft elevation above the horizon at contact start.
statusstringStatus of a contact. Known values are: "scheduled", "cancelled", "succeeded", "failed", and "providerCancelled".
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
txEndTimestring (date-time)Transmit end time of a contact (ISO 8601 UTC standard).
txStartTimestring (date-time)Transmit start time of a contact (ISO 8601 UTC standard).
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, spacecraft_name, contact_name, subscription_idGets the specified contact in a specified resource group.
listselectresource_group_name, spacecraft_name, subscription_id$skiptokenReturns list of contacts by spacecraftName.
createinsertresource_group_name, spacecraft_name, contact_name, subscription_id, propertiesCreates a contact.
deletedeleteresource_group_name, spacecraft_name, contact_name, subscription_idDeletes a specified contact.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
contact_namestringContact name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
spacecraft_namestringSpacecraft ID. Required.
subscription_idstring
$skiptokenstringAn opaque string that the resource provider uses to skip over previously-returned results. This is used when a previous list operation call returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Default value is None.

SELECT examples

Gets the specified contact in a specified resource group.

SELECT
id,
name,
antennaConfiguration,
contactProfile,
endAzimuthDegrees,
endElevationDegrees,
errorMessage,
groundStationName,
maximumElevationDegrees,
provisioningState,
reservationEndTime,
reservationStartTime,
rxEndTime,
rxStartTime,
startAzimuthDegrees,
startElevationDegrees,
status,
systemData,
txEndTime,
txStartTime,
type
FROM azure_extras.orbital.contacts
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND spacecraft_name = '{{ spacecraft_name }}' -- required
AND contact_name = '{{ contact_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates a contact.

INSERT INTO azure_extras.orbital.contacts (
properties,
resource_group_name,
spacecraft_name,
contact_name,
subscription_id
)
SELECT
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ spacecraft_name }}',
'{{ contact_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes a specified contact.

DELETE FROM azure_extras.orbital.contacts
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND spacecraft_name = '{{ spacecraft_name }}' --required
AND contact_name = '{{ contact_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;