spacecrafts
Creates, updates, deletes, gets or lists a spacecrafts
resource.
Overview
Name | spacecrafts |
Type | Resource |
Id | azure.orbital.spacecrafts |
Fields
- vw_spacecrafts
- spacecrafts
Name | Datatype | Description |
---|---|---|
links | text | field from the properties object |
location | text | The geo-location where the resource lives |
norad_id | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
spacecraftName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
title_line | text | field from the properties object |
tle_line1 | text | field from the properties object |
tle_line2 | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | List of Spacecraft Resource Properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, spacecraftName, subscriptionId | Gets the specified spacecraft in a specified resource group. |
list | SELECT | resourceGroupName, subscriptionId | Returns list of spacecrafts by resource group. |
list_by_subscription | SELECT | subscriptionId | Returns list of spacecrafts by subscription. |
create_or_update | INSERT | resourceGroupName, spacecraftName, subscriptionId, data__properties | Creates or updates a spacecraft resource. |
delete | DELETE | resourceGroupName, spacecraftName, subscriptionId | Deletes a specified spacecraft resource. |
update_tags | EXEC | resourceGroupName, spacecraftName, subscriptionId | Updates the specified spacecraft tags. |
SELECT
examples
Returns list of spacecrafts by subscription.
- vw_spacecrafts
- spacecrafts
SELECT
links,
location,
norad_id,
provisioning_state,
resourceGroupName,
spacecraftName,
subscriptionId,
tags,
title_line,
tle_line1,
tle_line2
FROM azure.orbital.vw_spacecrafts
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.orbital.spacecrafts
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new spacecrafts
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.orbital.spacecrafts (
resourceGroupName,
spacecraftName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ spacecraftName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: noradId
value: string
- name: titleLine
value: string
- name: tleLine1
value: string
- name: tleLine2
value: string
- name: links
value:
- - name: name
value: string
- name: centerFrequencyMHz
value: number
- name: bandwidthMHz
value: number
- name: direction
value: string
- name: polarization
value: string
- name: authorizations
value:
- - name: groundStation
value: string
- name: expirationDate
value: string
- name: tags
value: object
- name: location
value: string
DELETE
example
Deletes the specified spacecrafts
resource.
/*+ delete */
DELETE FROM azure.orbital.spacecrafts
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND spacecraftName = '{{ spacecraftName }}'
AND subscriptionId = '{{ subscriptionId }}';