groundstation

package
v0.20240209.1120443 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/orbital/2022-11-01/groundstation Documentation

The groundstation SDK allows for interaction with the Azure Resource Manager Service orbital (API Version 2022-11-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/orbital/2022-11-01/groundstation"

Client Initialization

client := groundstation.NewGroundStationClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: GroundStationClient.AvailableGroundStationsListByCapability

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.AvailableGroundStationsListByCapability(ctx, id, groundstation.DefaultAvailableGroundStationsListByCapabilityOperationOptions())` can be used to do batched pagination
items, err := client.AvailableGroundStationsListByCapabilityComplete(ctx, id, groundstation.DefaultAvailableGroundStationsListByCapabilityOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCapabilityParameter

func PossibleValuesForCapabilityParameter() []string

func PossibleValuesForReleaseMode

func PossibleValuesForReleaseMode() []string

Types

type AvailableGroundStation

type AvailableGroundStation struct {
	Id         *string                          `json:"id,omitempty"`
	Location   *string                          `json:"location,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Properties AvailableGroundStationProperties `json:"properties"`
	Type       *string                          `json:"type,omitempty"`
}

type AvailableGroundStationOperationPredicate

type AvailableGroundStationOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (AvailableGroundStationOperationPredicate) Matches

type AvailableGroundStationProperties

type AvailableGroundStationProperties struct {
	AltitudeMeters   *float64     `json:"altitudeMeters,omitempty"`
	City             *string      `json:"city,omitempty"`
	LatitudeDegrees  *float64     `json:"latitudeDegrees,omitempty"`
	LongitudeDegrees *float64     `json:"longitudeDegrees,omitempty"`
	ProviderName     *string      `json:"providerName,omitempty"`
	ReleaseMode      *ReleaseMode `json:"releaseMode,omitempty"`
}

type AvailableGroundStationsListByCapabilityCompleteResult

type AvailableGroundStationsListByCapabilityCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AvailableGroundStation
}

type AvailableGroundStationsListByCapabilityOperationOptions

type AvailableGroundStationsListByCapabilityOperationOptions struct {
	Capability *CapabilityParameter
}

func (AvailableGroundStationsListByCapabilityOperationOptions) ToHeaders

func (AvailableGroundStationsListByCapabilityOperationOptions) ToOData

func (AvailableGroundStationsListByCapabilityOperationOptions) ToQuery

type AvailableGroundStationsListByCapabilityOperationResponse

type AvailableGroundStationsListByCapabilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AvailableGroundStation
}

type CapabilityParameter

type CapabilityParameter string
const (
	CapabilityParameterCommunication    CapabilityParameter = "Communication"
	CapabilityParameterEarthObservation CapabilityParameter = "EarthObservation"
)

func (*CapabilityParameter) UnmarshalJSON

func (s *CapabilityParameter) UnmarshalJSON(bytes []byte) error

type GroundStationClient

type GroundStationClient struct {
	Client *resourcemanager.Client
}

func NewGroundStationClientWithBaseURI

func NewGroundStationClientWithBaseURI(sdkApi sdkEnv.Api) (*GroundStationClient, error)

func (GroundStationClient) AvailableGroundStationsListByCapability

AvailableGroundStationsListByCapability ...

func (GroundStationClient) AvailableGroundStationsListByCapabilityComplete

AvailableGroundStationsListByCapabilityComplete retrieves all the results into a single object

func (GroundStationClient) AvailableGroundStationsListByCapabilityCompleteMatchingPredicate

AvailableGroundStationsListByCapabilityCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ReleaseMode

type ReleaseMode string
const (
	ReleaseModeGA      ReleaseMode = "GA"
	ReleaseModePreview ReleaseMode = "Preview"
)

func (*ReleaseMode) UnmarshalJSON

func (s *ReleaseMode) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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