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 ListBySubscriptionOperationResponse
- type ListCompleteResult
- 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) (resp ListOperationResponse, err error)
- func (c SpacecraftClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp 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, ...) (resp 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, ...) (resp 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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *Spacecraft }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Spacecraft
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Spacecraft // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Spacecraft
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Spacecraft // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type Polarization ¶
type Polarization string
const ( PolarizationLHCP Polarization = "LHCP" PolarizationLinearHorizontal Polarization = "linearHorizontal" PolarizationLinearVertical Polarization = "linearVertical" PolarizationRHCP Polarization = "RHCP" )
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type Spacecraft ¶
type Spacecraft struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *SpacecraftsProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SpacecraftClient ¶
func NewSpacecraftClientWithBaseURI ¶
func NewSpacecraftClientWithBaseURI(endpoint string) SpacecraftClient
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) (resp ListOperationResponse, err error)
List ...
func (SpacecraftClient) ListBySubscription ¶
func (c SpacecraftClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (SpacecraftClient) ListBySubscriptionComplete ¶
func (c SpacecraftClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (SpacecraftClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c SpacecraftClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SpacecraftOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SpacecraftClient) ListComplete ¶
func (c SpacecraftClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (SpacecraftClient) ListCompleteMatchingPredicate ¶
func (c SpacecraftClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate SpacecraftOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied 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) 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 ¶
type SpacecraftOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (SpacecraftOperationPredicate) Matches ¶
func (p SpacecraftOperationPredicate) Matches(input Spacecraft) bool
type SpacecraftsProperties ¶
type SpacecraftsProperties struct { Links *[]SpacecraftLink `json:"links,omitempty"` NoradId string `json:"noradId"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TitleLine *string `json:"titleLine,omitempty"` TleLine1 *string `json:"tleLine1,omitempty"` TleLine2 *string `json:"tleLine2,omitempty"` }
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_spacecraft.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbysubscription_autorest.go
- method_updatetags_autorest.go
- model_authorizedgroundstation.go
- model_spacecraft.go
- model_spacecraftlink.go
- model_spacecraftsproperties.go
- model_tagsobject.go
- predicates.go
- version.go