azure.orbital.Spacecraft
Manages a Spacecraft.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var exampleSpacecraft = new Azure.Orbital.Spacecraft("exampleSpacecraft", new()
{
ResourceGroupName = azurerm_resource_group.Test.Name,
Location = "westeurope",
NoradId = "12345",
Links = new[]
{
new Azure.Orbital.Inputs.SpacecraftLinkArgs
{
BandwidthMhz = 100,
CenterFrequencyMhz = 101,
Direction = "Uplink",
Polarization = "LHCP",
Name = "examplename",
},
},
TwoLineElements = new[]
{
"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621",
"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495",
},
TitleLine = "AQUA",
Tags =
{
{ "aks-managed-cluster-name", "9a57225d-a405-4d40-aa46-f13d2342abef" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/orbital"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = orbital.NewSpacecraft(ctx, "exampleSpacecraft", &orbital.SpacecraftArgs{
ResourceGroupName: pulumi.Any(azurerm_resource_group.Test.Name),
Location: pulumi.String("westeurope"),
NoradId: pulumi.String("12345"),
Links: orbital.SpacecraftLinkArray{
&orbital.SpacecraftLinkArgs{
BandwidthMhz: pulumi.Float64(100),
CenterFrequencyMhz: pulumi.Float64(101),
Direction: pulumi.String("Uplink"),
Polarization: pulumi.String("LHCP"),
Name: pulumi.String("examplename"),
},
},
TwoLineElements: pulumi.StringArray{
pulumi.String("1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621"),
pulumi.String("2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495"),
},
TitleLine: pulumi.String("AQUA"),
Tags: pulumi.StringMap{
"aks-managed-cluster-name": pulumi.String("9a57225d-a405-4d40-aa46-f13d2342abef"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.orbital.Spacecraft;
import com.pulumi.azure.orbital.SpacecraftArgs;
import com.pulumi.azure.orbital.inputs.SpacecraftLinkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleSpacecraft = new Spacecraft("exampleSpacecraft", SpacecraftArgs.builder()
.resourceGroupName(azurerm_resource_group.test().name())
.location("westeurope")
.noradId("12345")
.links(SpacecraftLinkArgs.builder()
.bandwidthMhz(100)
.centerFrequencyMhz(101)
.direction("Uplink")
.polarization("LHCP")
.name("examplename")
.build())
.twoLineElements(
"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621",
"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495")
.titleLine("AQUA")
.tags(Map.of("aks-managed-cluster-name", "9a57225d-a405-4d40-aa46-f13d2342abef"))
.build());
}
}
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_spacecraft = azure.orbital.Spacecraft("exampleSpacecraft",
resource_group_name=azurerm_resource_group["test"]["name"],
location="westeurope",
norad_id="12345",
links=[azure.orbital.SpacecraftLinkArgs(
bandwidth_mhz=100,
center_frequency_mhz=101,
direction="Uplink",
polarization="LHCP",
name="examplename",
)],
two_line_elements=[
"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621",
"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495",
],
title_line="AQUA",
tags={
"aks-managed-cluster-name": "9a57225d-a405-4d40-aa46-f13d2342abef",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleSpacecraft = new azure.orbital.Spacecraft("exampleSpacecraft", {
resourceGroupName: azurerm_resource_group.test.name,
location: "westeurope",
noradId: "12345",
links: [{
bandwidthMhz: 100,
centerFrequencyMhz: 101,
direction: "Uplink",
polarization: "LHCP",
name: "examplename",
}],
twoLineElements: [
"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621",
"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495",
],
titleLine: "AQUA",
tags: {
"aks-managed-cluster-name": "9a57225d-a405-4d40-aa46-f13d2342abef",
},
});
resources:
exampleResourceGroup:
type: azure:core:ResourceGroup
properties:
location: West Europe
exampleSpacecraft:
type: azure:orbital:Spacecraft
properties:
resourceGroupName: ${azurerm_resource_group.test.name}
location: westeurope
noradId: '12345'
links:
- bandwidthMhz: 100
centerFrequencyMhz: 101
direction: Uplink
polarization: LHCP
name: examplename
twoLineElements:
- 1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621
- 2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495
titleLine: AQUA
tags:
aks-managed-cluster-name: 9a57225d-a405-4d40-aa46-f13d2342abef
Create Spacecraft Resource
new Spacecraft(name: string, args: SpacecraftArgs, opts?: CustomResourceOptions);
@overload
def Spacecraft(resource_name: str,
opts: Optional[ResourceOptions] = None,
links: Optional[Sequence[SpacecraftLinkArgs]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
norad_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
title_line: Optional[str] = None,
two_line_elements: Optional[Sequence[str]] = None)
@overload
def Spacecraft(resource_name: str,
args: SpacecraftArgs,
opts: Optional[ResourceOptions] = None)
func NewSpacecraft(ctx *Context, name string, args SpacecraftArgs, opts ...ResourceOption) (*Spacecraft, error)
public Spacecraft(string name, SpacecraftArgs args, CustomResourceOptions? opts = null)
public Spacecraft(String name, SpacecraftArgs args)
public Spacecraft(String name, SpacecraftArgs args, CustomResourceOptions options)
type: azure:orbital:Spacecraft
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SpacecraftArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SpacecraftArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SpacecraftArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SpacecraftArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SpacecraftArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Spacecraft Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Spacecraft resource accepts the following input properties:
- Links
List<Spacecraft
Link Args> A
links
block as defined below. Changing this forces a new resource to be created.- Norad
Id string NORAD ID of the Spacecraft.
- Resource
Group stringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- Title
Line string Title of the two line elements (TLE).
- Two
Line List<string>Elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- Location string
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- Name string
The name of the Spacecraft. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Links
[]Spacecraft
Link Args A
links
block as defined below. Changing this forces a new resource to be created.- Norad
Id string NORAD ID of the Spacecraft.
- Resource
Group stringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- Title
Line string Title of the two line elements (TLE).
- Two
Line []stringElements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- Location string
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- Name string
The name of the Spacecraft. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- links
List<Spacecraft
Link Args> A
links
block as defined below. Changing this forces a new resource to be created.- norad
Id String NORAD ID of the Spacecraft.
- resource
Group StringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- title
Line String Title of the two line elements (TLE).
- two
Line List<String>Elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- location String
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- name String
The name of the Spacecraft. Changing this forces a new resource to be created.
- Map<String,String>
A mapping of tags to assign to the resource.
- links
Spacecraft
Link Args[] A
links
block as defined below. Changing this forces a new resource to be created.- norad
Id string NORAD ID of the Spacecraft.
- resource
Group stringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- title
Line string Title of the two line elements (TLE).
- two
Line string[]Elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- location string
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- name string
The name of the Spacecraft. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- links
Sequence[Spacecraft
Link Args] A
links
block as defined below. Changing this forces a new resource to be created.- norad_
id str NORAD ID of the Spacecraft.
- resource_
group_ strname The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- title_
line str Title of the two line elements (TLE).
- two_
line_ Sequence[str]elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- location str
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- name str
The name of the Spacecraft. Changing this forces a new resource to be created.
- Mapping[str, str]
A mapping of tags to assign to the resource.
- links List<Property Map>
A
links
block as defined below. Changing this forces a new resource to be created.- norad
Id String NORAD ID of the Spacecraft.
- resource
Group StringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- title
Line String Title of the two line elements (TLE).
- two
Line List<String>Elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- location String
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- name String
The name of the Spacecraft. Changing this forces a new resource to be created.
- Map<String>
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Spacecraft resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing Spacecraft Resource
Get an existing Spacecraft resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SpacecraftState, opts?: CustomResourceOptions): Spacecraft
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
links: Optional[Sequence[SpacecraftLinkArgs]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
norad_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
title_line: Optional[str] = None,
two_line_elements: Optional[Sequence[str]] = None) -> Spacecraft
func GetSpacecraft(ctx *Context, name string, id IDInput, state *SpacecraftState, opts ...ResourceOption) (*Spacecraft, error)
public static Spacecraft Get(string name, Input<string> id, SpacecraftState? state, CustomResourceOptions? opts = null)
public static Spacecraft get(String name, Output<String> id, SpacecraftState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Links
List<Spacecraft
Link Args> A
links
block as defined below. Changing this forces a new resource to be created.- Location string
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- Name string
The name of the Spacecraft. Changing this forces a new resource to be created.
- Norad
Id string NORAD ID of the Spacecraft.
- Resource
Group stringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Title
Line string Title of the two line elements (TLE).
- Two
Line List<string>Elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- Links
[]Spacecraft
Link Args A
links
block as defined below. Changing this forces a new resource to be created.- Location string
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- Name string
The name of the Spacecraft. Changing this forces a new resource to be created.
- Norad
Id string NORAD ID of the Spacecraft.
- Resource
Group stringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- Title
Line string Title of the two line elements (TLE).
- Two
Line []stringElements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- links
List<Spacecraft
Link Args> A
links
block as defined below. Changing this forces a new resource to be created.- location String
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- name String
The name of the Spacecraft. Changing this forces a new resource to be created.
- norad
Id String NORAD ID of the Spacecraft.
- resource
Group StringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- Map<String,String>
A mapping of tags to assign to the resource.
- title
Line String Title of the two line elements (TLE).
- two
Line List<String>Elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- links
Spacecraft
Link Args[] A
links
block as defined below. Changing this forces a new resource to be created.- location string
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- name string
The name of the Spacecraft. Changing this forces a new resource to be created.
- norad
Id string NORAD ID of the Spacecraft.
- resource
Group stringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- title
Line string Title of the two line elements (TLE).
- two
Line string[]Elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- links
Sequence[Spacecraft
Link Args] A
links
block as defined below. Changing this forces a new resource to be created.- location str
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- name str
The name of the Spacecraft. Changing this forces a new resource to be created.
- norad_
id str NORAD ID of the Spacecraft.
- resource_
group_ strname The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- Mapping[str, str]
A mapping of tags to assign to the resource.
- title_
line str Title of the two line elements (TLE).
- two_
line_ Sequence[str]elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
- links List<Property Map>
A
links
block as defined below. Changing this forces a new resource to be created.- location String
The location where the Spacecraft exists. Changing this forces a new resource to be created.
- name String
The name of the Spacecraft. Changing this forces a new resource to be created.
- norad
Id String NORAD ID of the Spacecraft.
- resource
Group StringName The name of the Resource Group where the Spacecraft exists. Changing this forces a new resource to be created.
- Map<String>
A mapping of tags to assign to the resource.
- title
Line String Title of the two line elements (TLE).
- two
Line List<String>Elements A list of the two line elements (TLE), the first string being the first of the TLE, the second string being the second line of the TLE. Changing this forces a new resource to be created.
Supporting Types
SpacecraftLink
- Bandwidth
Mhz double Bandwidth in Mhz.
- Center
Frequency doubleMhz Center frequency in Mhz.
- Direction string
Direction if the communication. Possible values are
Uplink
andDownlink
.- Name string
Name of the link.
- Polarization string
Polarization. Possible values are
RHCP
,LHCP
,linearVertical
andlinearHorizontal
.
- Bandwidth
Mhz float64 Bandwidth in Mhz.
- Center
Frequency float64Mhz Center frequency in Mhz.
- Direction string
Direction if the communication. Possible values are
Uplink
andDownlink
.- Name string
Name of the link.
- Polarization string
Polarization. Possible values are
RHCP
,LHCP
,linearVertical
andlinearHorizontal
.
- bandwidth
Mhz Double Bandwidth in Mhz.
- center
Frequency DoubleMhz Center frequency in Mhz.
- direction String
Direction if the communication. Possible values are
Uplink
andDownlink
.- name String
Name of the link.
- polarization String
Polarization. Possible values are
RHCP
,LHCP
,linearVertical
andlinearHorizontal
.
- bandwidth
Mhz number Bandwidth in Mhz.
- center
Frequency numberMhz Center frequency in Mhz.
- direction string
Direction if the communication. Possible values are
Uplink
andDownlink
.- name string
Name of the link.
- polarization string
Polarization. Possible values are
RHCP
,LHCP
,linearVertical
andlinearHorizontal
.
- bandwidth_
mhz float Bandwidth in Mhz.
- center_
frequency_ floatmhz Center frequency in Mhz.
- direction str
Direction if the communication. Possible values are
Uplink
andDownlink
.- name str
Name of the link.
- polarization str
Polarization. Possible values are
RHCP
,LHCP
,linearVertical
andlinearHorizontal
.
- bandwidth
Mhz Number Bandwidth in Mhz.
- center
Frequency NumberMhz Center frequency in Mhz.
- direction String
Direction if the communication. Possible values are
Uplink
andDownlink
.- name String
Name of the link.
- polarization String
Polarization. Possible values are
RHCP
,LHCP
,linearVertical
andlinearHorizontal
.
Import
Spacecraft can be imported using the resource id
, e.g.
$ pulumi import azure:orbital/spacecraft:Spacecraft example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/spacecrafts/spacecraft1
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.