Documentation ¶
Index ¶
- func PossibleValuesForDirection() []string
- func PossibleValuesForPolarization() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateSpacecraftID(input interface{}, key string) (warnings []string, errors []error)
- type AuthorizedGroundstation
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Direction
- type GetOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type Polarization
- type ProvisioningState
- type Spacecraft
- type SpacecraftClient
- func (c SpacecraftClient) CreateOrUpdate(ctx context.Context, id SpacecraftId, input Spacecraft) (result CreateOrUpdateOperationResponse, err error)
- func (c SpacecraftClient) CreateOrUpdateThenPoll(ctx context.Context, id SpacecraftId, input Spacecraft) error
- func (c SpacecraftClient) Delete(ctx context.Context, id SpacecraftId) (result DeleteOperationResponse, err error)
- func (c SpacecraftClient) DeleteThenPoll(ctx context.Context, id SpacecraftId) error
- func (c SpacecraftClient) Get(ctx context.Context, id SpacecraftId) (result GetOperationResponse, err error)
- func (c SpacecraftClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c SpacecraftClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c SpacecraftClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c SpacecraftClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c SpacecraftClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c SpacecraftClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c SpacecraftClient) UpdateTags(ctx context.Context, id SpacecraftId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- func (c SpacecraftClient) UpdateTagsThenPoll(ctx context.Context, id SpacecraftId, input TagsObject) error
- type SpacecraftId
- type SpacecraftLink
- type SpacecraftOperationPredicate
- type SpacecraftsProperties
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDirection ¶
func PossibleValuesForDirection() []string
func PossibleValuesForPolarization ¶
func PossibleValuesForPolarization() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateSpacecraftID ¶
ValidateSpacecraftID checks that 'input' can be parsed as a Spacecraft ID
Types ¶
type AuthorizedGroundstation ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Spacecraft }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []Spacecraft }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Spacecraft }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []Spacecraft }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Spacecraft }
type Polarization ¶
type Polarization string
const ( PolarizationLHCP Polarization = "LHCP" PolarizationLinearHorizontal Polarization = "linearHorizontal" PolarizationLinearVertical Polarization = "linearVertical" PolarizationRHCP Polarization = "RHCP" )
func (*Polarization) UnmarshalJSON ¶
func (s *Polarization) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "canceled" ProvisioningStateCreating ProvisioningState = "creating" ProvisioningStateDeleting ProvisioningState = "deleting" ProvisioningStateFailed ProvisioningState = "failed" ProvisioningStateSucceeded ProvisioningState = "succeeded" ProvisioningStateUpdating ProvisioningState = "updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type Spacecraft ¶
type Spacecraft struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties SpacecraftsProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SpacecraftClient ¶
type SpacecraftClient struct {
Client *resourcemanager.Client
}
func NewSpacecraftClientWithBaseURI ¶
func NewSpacecraftClientWithBaseURI(sdkApi sdkEnv.Api) (*SpacecraftClient, error)
func (SpacecraftClient) CreateOrUpdate ¶
func (c SpacecraftClient) CreateOrUpdate(ctx context.Context, id SpacecraftId, input Spacecraft) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SpacecraftClient) CreateOrUpdateThenPoll ¶
func (c SpacecraftClient) CreateOrUpdateThenPoll(ctx context.Context, id SpacecraftId, input Spacecraft) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (SpacecraftClient) Delete ¶
func (c SpacecraftClient) Delete(ctx context.Context, id SpacecraftId) (result DeleteOperationResponse, err error)
Delete ...
func (SpacecraftClient) DeleteThenPoll ¶
func (c SpacecraftClient) DeleteThenPoll(ctx context.Context, id SpacecraftId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SpacecraftClient) Get ¶
func (c SpacecraftClient) Get(ctx context.Context, id SpacecraftId) (result GetOperationResponse, err error)
Get ...
func (SpacecraftClient) List ¶
func (c SpacecraftClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (SpacecraftClient) ListBySubscription ¶
func (c SpacecraftClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (SpacecraftClient) ListBySubscriptionComplete ¶
func (c SpacecraftClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (SpacecraftClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c SpacecraftClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SpacecraftOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SpacecraftClient) ListComplete ¶
func (c SpacecraftClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SpacecraftClient) ListCompleteMatchingPredicate ¶
func (c SpacecraftClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate SpacecraftOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SpacecraftClient) UpdateTags ¶
func (c SpacecraftClient) UpdateTags(ctx context.Context, id SpacecraftId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
func (SpacecraftClient) UpdateTagsThenPoll ¶
func (c SpacecraftClient) UpdateTagsThenPoll(ctx context.Context, id SpacecraftId, input TagsObject) error
UpdateTagsThenPoll performs UpdateTags then polls until it's completed
type SpacecraftId ¶
SpacecraftId is a struct representing the Resource ID for a Spacecraft
func NewSpacecraftID ¶
func NewSpacecraftID(subscriptionId string, resourceGroupName string, spacecraftName string) SpacecraftId
NewSpacecraftID returns a new SpacecraftId struct
func ParseSpacecraftID ¶
func ParseSpacecraftID(input string) (*SpacecraftId, error)
ParseSpacecraftID parses 'input' into a SpacecraftId
func ParseSpacecraftIDInsensitively ¶
func ParseSpacecraftIDInsensitively(input string) (*SpacecraftId, error)
ParseSpacecraftIDInsensitively parses 'input' case-insensitively into a SpacecraftId note: this method should only be used for API response data and not user input
func (*SpacecraftId) FromParseResult ¶
func (id *SpacecraftId) FromParseResult(input resourceids.ParseResult) error
func (SpacecraftId) Segments ¶
func (id SpacecraftId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Spacecraft ID
func (SpacecraftId) String ¶
func (id SpacecraftId) String() string
String returns a human-readable description of this Spacecraft ID
type SpacecraftLink ¶
type SpacecraftLink struct { Authorizations *[]AuthorizedGroundstation `json:"authorizations,omitempty"` BandwidthMHz float64 `json:"bandwidthMHz"` CenterFrequencyMHz float64 `json:"centerFrequencyMHz"` Direction Direction `json:"direction"` Name string `json:"name"` Polarization Polarization `json:"polarization"` }
type SpacecraftOperationPredicate ¶
func (SpacecraftOperationPredicate) Matches ¶
func (p SpacecraftOperationPredicate) Matches(input Spacecraft) bool
type SpacecraftsProperties ¶
type SpacecraftsProperties struct { Links []SpacecraftLink `json:"links"` NoradId *string `json:"noradId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TitleLine string `json:"titleLine"` TleLine1 string `json:"tleLine1"` TleLine2 string `json:"tleLine2"` }
type TagsObject ¶
Source Files ¶
- client.go
- constants.go
- id_spacecraft.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbysubscription.go
- method_updatetags.go
- model_authorizedgroundstation.go
- model_spacecraft.go
- model_spacecraftlink.go
- model_spacecraftsproperties.go
- model_tagsobject.go
- predicates.go
- version.go