orbital

package
v5.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spacecraft

type Spacecraft struct {
	pulumi.CustomResourceState

	// A `links` block as defined below.
	Links SpacecraftLinkArrayOutput `pulumi:"links"`
	// The location where the Spacecraft exists.
	Location pulumi.StringOutput `pulumi:"location"`
	// Name of the link.
	Name pulumi.StringOutput `pulumi:"name"`
	// NORAD ID of the Spacecraft.
	NoradId pulumi.StringOutput `pulumi:"noradId"`
	// The name of the Resource Group where the Spacecraft exists.
	ResourceGroupName pulumi.StringOutput    `pulumi:"resourceGroupName"`
	Tags              pulumi.StringMapOutput `pulumi:"tags"`
	// Title of the two line elements(TLE).
	TitleLine pulumi.StringOutput `pulumi:"titleLine"`
	// A list of the two line elements(TLE), the first string in the list is the first line of TLE, the second one is the second line of TLE.
	TwoLineElements pulumi.StringArrayOutput `pulumi:"twoLineElements"`
}

Manages a Spacecraft.

## Example Usage

```go 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
	})
}

```

## Import

Spacecraft can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:orbital/spacecraft:Spacecraft example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/spacecrafts/spacecraft1

```

func GetSpacecraft

func GetSpacecraft(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpacecraftState, opts ...pulumi.ResourceOption) (*Spacecraft, error)

GetSpacecraft gets an existing Spacecraft resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSpacecraft

func NewSpacecraft(ctx *pulumi.Context,
	name string, args *SpacecraftArgs, opts ...pulumi.ResourceOption) (*Spacecraft, error)

NewSpacecraft registers a new resource with the given unique name, arguments, and options.

func (*Spacecraft) ElementType

func (*Spacecraft) ElementType() reflect.Type

func (*Spacecraft) ToSpacecraftOutput

func (i *Spacecraft) ToSpacecraftOutput() SpacecraftOutput

func (*Spacecraft) ToSpacecraftOutputWithContext

func (i *Spacecraft) ToSpacecraftOutputWithContext(ctx context.Context) SpacecraftOutput

type SpacecraftArgs

type SpacecraftArgs struct {
	// A `links` block as defined below.
	Links SpacecraftLinkArrayInput
	// The location where the Spacecraft exists.
	Location pulumi.StringPtrInput
	// Name of the link.
	Name pulumi.StringPtrInput
	// NORAD ID of the Spacecraft.
	NoradId pulumi.StringInput
	// The name of the Resource Group where the Spacecraft exists.
	ResourceGroupName pulumi.StringInput
	Tags              pulumi.StringMapInput
	// Title of the two line elements(TLE).
	TitleLine pulumi.StringInput
	// A list of the two line elements(TLE), the first string in the list is the first line of TLE, the second one is the second line of TLE.
	TwoLineElements pulumi.StringArrayInput
}

The set of arguments for constructing a Spacecraft resource.

func (SpacecraftArgs) ElementType

func (SpacecraftArgs) ElementType() reflect.Type

type SpacecraftArray

type SpacecraftArray []SpacecraftInput

func (SpacecraftArray) ElementType

func (SpacecraftArray) ElementType() reflect.Type

func (SpacecraftArray) ToSpacecraftArrayOutput

func (i SpacecraftArray) ToSpacecraftArrayOutput() SpacecraftArrayOutput

func (SpacecraftArray) ToSpacecraftArrayOutputWithContext

func (i SpacecraftArray) ToSpacecraftArrayOutputWithContext(ctx context.Context) SpacecraftArrayOutput

type SpacecraftArrayInput

type SpacecraftArrayInput interface {
	pulumi.Input

	ToSpacecraftArrayOutput() SpacecraftArrayOutput
	ToSpacecraftArrayOutputWithContext(context.Context) SpacecraftArrayOutput
}

SpacecraftArrayInput is an input type that accepts SpacecraftArray and SpacecraftArrayOutput values. You can construct a concrete instance of `SpacecraftArrayInput` via:

SpacecraftArray{ SpacecraftArgs{...} }

type SpacecraftArrayOutput

type SpacecraftArrayOutput struct{ *pulumi.OutputState }

func (SpacecraftArrayOutput) ElementType

func (SpacecraftArrayOutput) ElementType() reflect.Type

func (SpacecraftArrayOutput) Index

func (SpacecraftArrayOutput) ToSpacecraftArrayOutput

func (o SpacecraftArrayOutput) ToSpacecraftArrayOutput() SpacecraftArrayOutput

func (SpacecraftArrayOutput) ToSpacecraftArrayOutputWithContext

func (o SpacecraftArrayOutput) ToSpacecraftArrayOutputWithContext(ctx context.Context) SpacecraftArrayOutput

type SpacecraftInput

type SpacecraftInput interface {
	pulumi.Input

	ToSpacecraftOutput() SpacecraftOutput
	ToSpacecraftOutputWithContext(ctx context.Context) SpacecraftOutput
}
type SpacecraftLink struct {
	// Bandwidth in Mhz.
	BandwidthMhz float64 `pulumi:"bandwidthMhz"`
	// Center frequency in Mhz.
	CenterFrequencyMhz float64 `pulumi:"centerFrequencyMhz"`
	// Direction if the communication. Possible values are `Uplink` and `Downlink`.
	Direction string `pulumi:"direction"`
	// Name of the link.
	Name string `pulumi:"name"`
	// Polarization. Possible values are `RHCP`, `LHCP`, `linearVertical` and `linearHorizontal`.
	Polarization string `pulumi:"polarization"`
}

type SpacecraftLinkArgs

type SpacecraftLinkArgs struct {
	// Bandwidth in Mhz.
	BandwidthMhz pulumi.Float64Input `pulumi:"bandwidthMhz"`
	// Center frequency in Mhz.
	CenterFrequencyMhz pulumi.Float64Input `pulumi:"centerFrequencyMhz"`
	// Direction if the communication. Possible values are `Uplink` and `Downlink`.
	Direction pulumi.StringInput `pulumi:"direction"`
	// Name of the link.
	Name pulumi.StringInput `pulumi:"name"`
	// Polarization. Possible values are `RHCP`, `LHCP`, `linearVertical` and `linearHorizontal`.
	Polarization pulumi.StringInput `pulumi:"polarization"`
}

func (SpacecraftLinkArgs) ElementType

func (SpacecraftLinkArgs) ElementType() reflect.Type

func (SpacecraftLinkArgs) ToSpacecraftLinkOutput

func (i SpacecraftLinkArgs) ToSpacecraftLinkOutput() SpacecraftLinkOutput

func (SpacecraftLinkArgs) ToSpacecraftLinkOutputWithContext

func (i SpacecraftLinkArgs) ToSpacecraftLinkOutputWithContext(ctx context.Context) SpacecraftLinkOutput

type SpacecraftLinkArray

type SpacecraftLinkArray []SpacecraftLinkInput

func (SpacecraftLinkArray) ElementType

func (SpacecraftLinkArray) ElementType() reflect.Type

func (SpacecraftLinkArray) ToSpacecraftLinkArrayOutput

func (i SpacecraftLinkArray) ToSpacecraftLinkArrayOutput() SpacecraftLinkArrayOutput

func (SpacecraftLinkArray) ToSpacecraftLinkArrayOutputWithContext

func (i SpacecraftLinkArray) ToSpacecraftLinkArrayOutputWithContext(ctx context.Context) SpacecraftLinkArrayOutput

type SpacecraftLinkArrayInput

type SpacecraftLinkArrayInput interface {
	pulumi.Input

	ToSpacecraftLinkArrayOutput() SpacecraftLinkArrayOutput
	ToSpacecraftLinkArrayOutputWithContext(context.Context) SpacecraftLinkArrayOutput
}

SpacecraftLinkArrayInput is an input type that accepts SpacecraftLinkArray and SpacecraftLinkArrayOutput values. You can construct a concrete instance of `SpacecraftLinkArrayInput` via:

SpacecraftLinkArray{ SpacecraftLinkArgs{...} }

type SpacecraftLinkArrayOutput

type SpacecraftLinkArrayOutput struct{ *pulumi.OutputState }

func (SpacecraftLinkArrayOutput) ElementType

func (SpacecraftLinkArrayOutput) ElementType() reflect.Type

func (SpacecraftLinkArrayOutput) Index

func (SpacecraftLinkArrayOutput) ToSpacecraftLinkArrayOutput

func (o SpacecraftLinkArrayOutput) ToSpacecraftLinkArrayOutput() SpacecraftLinkArrayOutput

func (SpacecraftLinkArrayOutput) ToSpacecraftLinkArrayOutputWithContext

func (o SpacecraftLinkArrayOutput) ToSpacecraftLinkArrayOutputWithContext(ctx context.Context) SpacecraftLinkArrayOutput

type SpacecraftLinkInput

type SpacecraftLinkInput interface {
	pulumi.Input

	ToSpacecraftLinkOutput() SpacecraftLinkOutput
	ToSpacecraftLinkOutputWithContext(context.Context) SpacecraftLinkOutput
}

SpacecraftLinkInput is an input type that accepts SpacecraftLinkArgs and SpacecraftLinkOutput values. You can construct a concrete instance of `SpacecraftLinkInput` via:

SpacecraftLinkArgs{...}

type SpacecraftLinkOutput

type SpacecraftLinkOutput struct{ *pulumi.OutputState }

func (SpacecraftLinkOutput) BandwidthMhz

func (o SpacecraftLinkOutput) BandwidthMhz() pulumi.Float64Output

Bandwidth in Mhz.

func (SpacecraftLinkOutput) CenterFrequencyMhz

func (o SpacecraftLinkOutput) CenterFrequencyMhz() pulumi.Float64Output

Center frequency in Mhz.

func (SpacecraftLinkOutput) Direction

Direction if the communication. Possible values are `Uplink` and `Downlink`.

func (SpacecraftLinkOutput) ElementType

func (SpacecraftLinkOutput) ElementType() reflect.Type

func (SpacecraftLinkOutput) Name

Name of the link.

func (SpacecraftLinkOutput) Polarization

func (o SpacecraftLinkOutput) Polarization() pulumi.StringOutput

Polarization. Possible values are `RHCP`, `LHCP`, `linearVertical` and `linearHorizontal`.

func (SpacecraftLinkOutput) ToSpacecraftLinkOutput

func (o SpacecraftLinkOutput) ToSpacecraftLinkOutput() SpacecraftLinkOutput

func (SpacecraftLinkOutput) ToSpacecraftLinkOutputWithContext

func (o SpacecraftLinkOutput) ToSpacecraftLinkOutputWithContext(ctx context.Context) SpacecraftLinkOutput

type SpacecraftMap

type SpacecraftMap map[string]SpacecraftInput

func (SpacecraftMap) ElementType

func (SpacecraftMap) ElementType() reflect.Type

func (SpacecraftMap) ToSpacecraftMapOutput

func (i SpacecraftMap) ToSpacecraftMapOutput() SpacecraftMapOutput

func (SpacecraftMap) ToSpacecraftMapOutputWithContext

func (i SpacecraftMap) ToSpacecraftMapOutputWithContext(ctx context.Context) SpacecraftMapOutput

type SpacecraftMapInput

type SpacecraftMapInput interface {
	pulumi.Input

	ToSpacecraftMapOutput() SpacecraftMapOutput
	ToSpacecraftMapOutputWithContext(context.Context) SpacecraftMapOutput
}

SpacecraftMapInput is an input type that accepts SpacecraftMap and SpacecraftMapOutput values. You can construct a concrete instance of `SpacecraftMapInput` via:

SpacecraftMap{ "key": SpacecraftArgs{...} }

type SpacecraftMapOutput

type SpacecraftMapOutput struct{ *pulumi.OutputState }

func (SpacecraftMapOutput) ElementType

func (SpacecraftMapOutput) ElementType() reflect.Type

func (SpacecraftMapOutput) MapIndex

func (SpacecraftMapOutput) ToSpacecraftMapOutput

func (o SpacecraftMapOutput) ToSpacecraftMapOutput() SpacecraftMapOutput

func (SpacecraftMapOutput) ToSpacecraftMapOutputWithContext

func (o SpacecraftMapOutput) ToSpacecraftMapOutputWithContext(ctx context.Context) SpacecraftMapOutput

type SpacecraftOutput

type SpacecraftOutput struct{ *pulumi.OutputState }

func (SpacecraftOutput) ElementType

func (SpacecraftOutput) ElementType() reflect.Type

A `links` block as defined below.

func (SpacecraftOutput) Location

func (o SpacecraftOutput) Location() pulumi.StringOutput

The location where the Spacecraft exists.

func (SpacecraftOutput) Name

Name of the link.

func (SpacecraftOutput) NoradId

func (o SpacecraftOutput) NoradId() pulumi.StringOutput

NORAD ID of the Spacecraft.

func (SpacecraftOutput) ResourceGroupName

func (o SpacecraftOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Spacecraft exists.

func (SpacecraftOutput) Tags

func (SpacecraftOutput) TitleLine

func (o SpacecraftOutput) TitleLine() pulumi.StringOutput

Title of the two line elements(TLE).

func (SpacecraftOutput) ToSpacecraftOutput

func (o SpacecraftOutput) ToSpacecraftOutput() SpacecraftOutput

func (SpacecraftOutput) ToSpacecraftOutputWithContext

func (o SpacecraftOutput) ToSpacecraftOutputWithContext(ctx context.Context) SpacecraftOutput

func (SpacecraftOutput) TwoLineElements

func (o SpacecraftOutput) TwoLineElements() pulumi.StringArrayOutput

A list of the two line elements(TLE), the first string in the list is the first line of TLE, the second one is the second line of TLE.

type SpacecraftState

type SpacecraftState struct {
	// A `links` block as defined below.
	Links SpacecraftLinkArrayInput
	// The location where the Spacecraft exists.
	Location pulumi.StringPtrInput
	// Name of the link.
	Name pulumi.StringPtrInput
	// NORAD ID of the Spacecraft.
	NoradId pulumi.StringPtrInput
	// The name of the Resource Group where the Spacecraft exists.
	ResourceGroupName pulumi.StringPtrInput
	Tags              pulumi.StringMapInput
	// Title of the two line elements(TLE).
	TitleLine pulumi.StringPtrInput
	// A list of the two line elements(TLE), the first string in the list is the first line of TLE, the second one is the second line of TLE.
	TwoLineElements pulumi.StringArrayInput
}

func (SpacecraftState) ElementType

func (SpacecraftState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL