Documentation ¶
Index ¶
- func PossibleValuesForContactsStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateContactID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSpacecraftID(input interface{}, key string) (warnings []string, errors []error)
- type AvailableContacts
- type AvailableContactsOperationPredicate
- type Contact
- type ContactClient
- func (c ContactClient) Create(ctx context.Context, id ContactId, input Contact) (result CreateOperationResponse, err error)
- func (c ContactClient) CreateThenPoll(ctx context.Context, id ContactId, input Contact) error
- func (c ContactClient) Delete(ctx context.Context, id ContactId) (result DeleteOperationResponse, err error)
- func (c ContactClient) DeleteThenPoll(ctx context.Context, id ContactId) error
- func (c ContactClient) Get(ctx context.Context, id ContactId) (result GetOperationResponse, err error)
- func (c ContactClient) List(ctx context.Context, id SpacecraftId) (resp ListOperationResponse, err error)
- func (c ContactClient) ListComplete(ctx context.Context, id SpacecraftId) (ListCompleteResult, error)
- func (c ContactClient) ListCompleteMatchingPredicate(ctx context.Context, id SpacecraftId, predicate ContactOperationPredicate) (resp ListCompleteResult, err error)
- func (c ContactClient) SpacecraftsListAvailableContacts(ctx context.Context, id SpacecraftId, input ContactParameters) (result SpacecraftsListAvailableContactsOperationResponse, err error)
- func (c ContactClient) SpacecraftsListAvailableContactsThenPoll(ctx context.Context, id SpacecraftId, input ContactParameters) error
- type ContactId
- type ContactInstanceProperties
- func (o *ContactInstanceProperties) GetRxEndTimeAsTime() (*time.Time, error)
- func (o *ContactInstanceProperties) GetRxStartTimeAsTime() (*time.Time, error)
- func (o *ContactInstanceProperties) GetTxEndTimeAsTime() (*time.Time, error)
- func (o *ContactInstanceProperties) GetTxStartTimeAsTime() (*time.Time, error)
- func (o *ContactInstanceProperties) SetRxEndTimeAsTime(input time.Time)
- func (o *ContactInstanceProperties) SetRxStartTimeAsTime(input time.Time)
- func (o *ContactInstanceProperties) SetTxEndTimeAsTime(input time.Time)
- func (o *ContactInstanceProperties) SetTxStartTimeAsTime(input time.Time)
- type ContactOperationPredicate
- type ContactParameters
- type ContactsProperties
- func (o *ContactsProperties) GetReservationEndTimeAsTime() (*time.Time, error)
- func (o *ContactsProperties) GetReservationStartTimeAsTime() (*time.Time, error)
- func (o *ContactsProperties) GetRxEndTimeAsTime() (*time.Time, error)
- func (o *ContactsProperties) GetRxStartTimeAsTime() (*time.Time, error)
- func (o *ContactsProperties) GetTxEndTimeAsTime() (*time.Time, error)
- func (o *ContactsProperties) GetTxStartTimeAsTime() (*time.Time, error)
- func (o *ContactsProperties) SetReservationEndTimeAsTime(input time.Time)
- func (o *ContactsProperties) SetReservationStartTimeAsTime(input time.Time)
- func (o *ContactsProperties) SetRxEndTimeAsTime(input time.Time)
- func (o *ContactsProperties) SetRxStartTimeAsTime(input time.Time)
- func (o *ContactsProperties) SetTxEndTimeAsTime(input time.Time)
- func (o *ContactsProperties) SetTxStartTimeAsTime(input time.Time)
- type ContactsPropertiesAntennaConfiguration
- type ContactsStatus
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type ResourceReference
- type SpacecraftId
- type SpacecraftsListAvailableContactsCompleteResult
- type SpacecraftsListAvailableContactsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForContactsStatus ¶ added in v0.20220622.1090000
func PossibleValuesForContactsStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateContactID ¶
ValidateContactID checks that 'input' can be parsed as a Contact ID
func ValidateSpacecraftID ¶
ValidateSpacecraftID checks that 'input' can be parsed as a Spacecraft ID
Types ¶
type AvailableContacts ¶
type AvailableContacts struct { GroundStationName *string `json:"groundStationName,omitempty"` Properties *ContactInstanceProperties `json:"properties,omitempty"` Spacecraft *ResourceReference `json:"spacecraft,omitempty"` }
type AvailableContactsOperationPredicate ¶
type AvailableContactsOperationPredicate struct {
GroundStationName *string
}
func (AvailableContactsOperationPredicate) Matches ¶
func (p AvailableContactsOperationPredicate) Matches(input AvailableContacts) bool
type Contact ¶
type Contact struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ContactsProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ContactClient ¶
func NewContactClientWithBaseURI ¶
func NewContactClientWithBaseURI(endpoint string) ContactClient
func (ContactClient) Create ¶
func (c ContactClient) Create(ctx context.Context, id ContactId, input Contact) (result CreateOperationResponse, err error)
Create ...
func (ContactClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (ContactClient) Delete ¶
func (c ContactClient) Delete(ctx context.Context, id ContactId) (result DeleteOperationResponse, err error)
Delete ...
func (ContactClient) DeleteThenPoll ¶
func (c ContactClient) DeleteThenPoll(ctx context.Context, id ContactId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ContactClient) Get ¶
func (c ContactClient) Get(ctx context.Context, id ContactId) (result GetOperationResponse, err error)
Get ...
func (ContactClient) List ¶
func (c ContactClient) List(ctx context.Context, id SpacecraftId) (resp ListOperationResponse, err error)
List ...
func (ContactClient) ListComplete ¶
func (c ContactClient) ListComplete(ctx context.Context, id SpacecraftId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ContactClient) ListCompleteMatchingPredicate ¶
func (c ContactClient) ListCompleteMatchingPredicate(ctx context.Context, id SpacecraftId, predicate ContactOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ContactClient) SpacecraftsListAvailableContacts ¶
func (c ContactClient) SpacecraftsListAvailableContacts(ctx context.Context, id SpacecraftId, input ContactParameters) (result SpacecraftsListAvailableContactsOperationResponse, err error)
SpacecraftsListAvailableContacts ...
func (ContactClient) SpacecraftsListAvailableContactsThenPoll ¶
func (c ContactClient) SpacecraftsListAvailableContactsThenPoll(ctx context.Context, id SpacecraftId, input ContactParameters) error
SpacecraftsListAvailableContactsThenPoll performs SpacecraftsListAvailableContacts then polls until it's completed
type ContactId ¶
type ContactId struct { SubscriptionId string ResourceGroupName string SpacecraftName string ContactName string }
ContactId is a struct representing the Resource ID for a Contact
func NewContactID ¶
func NewContactID(subscriptionId string, resourceGroupName string, spacecraftName string, contactName string) ContactId
NewContactID returns a new ContactId struct
func ParseContactID ¶
ParseContactID parses 'input' into a ContactId
func ParseContactIDInsensitively ¶
ParseContactIDInsensitively parses 'input' case-insensitively into a ContactId note: this method should only be used for API response data and not user input
func (ContactId) Segments ¶
func (id ContactId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Contact ID
type ContactInstanceProperties ¶
type ContactInstanceProperties struct { EndAzimuthDegrees *float64 `json:"endAzimuthDegrees,omitempty"` EndElevationDegrees *float64 `json:"endElevationDegrees,omitempty"` MaximumElevationDegrees *float64 `json:"maximumElevationDegrees,omitempty"` RxEndTime *string `json:"rxEndTime,omitempty"` RxStartTime *string `json:"rxStartTime,omitempty"` StartAzimuthDegrees *float64 `json:"startAzimuthDegrees,omitempty"` StartElevationDegrees *float64 `json:"startElevationDegrees,omitempty"` TxEndTime *string `json:"txEndTime,omitempty"` TxStartTime *string `json:"txStartTime,omitempty"` }
func (*ContactInstanceProperties) GetRxEndTimeAsTime ¶
func (o *ContactInstanceProperties) GetRxEndTimeAsTime() (*time.Time, error)
func (*ContactInstanceProperties) GetRxStartTimeAsTime ¶
func (o *ContactInstanceProperties) GetRxStartTimeAsTime() (*time.Time, error)
func (*ContactInstanceProperties) GetTxEndTimeAsTime ¶
func (o *ContactInstanceProperties) GetTxEndTimeAsTime() (*time.Time, error)
func (*ContactInstanceProperties) GetTxStartTimeAsTime ¶
func (o *ContactInstanceProperties) GetTxStartTimeAsTime() (*time.Time, error)
func (*ContactInstanceProperties) SetRxEndTimeAsTime ¶
func (o *ContactInstanceProperties) SetRxEndTimeAsTime(input time.Time)
func (*ContactInstanceProperties) SetRxStartTimeAsTime ¶
func (o *ContactInstanceProperties) SetRxStartTimeAsTime(input time.Time)
func (*ContactInstanceProperties) SetTxEndTimeAsTime ¶
func (o *ContactInstanceProperties) SetTxEndTimeAsTime(input time.Time)
func (*ContactInstanceProperties) SetTxStartTimeAsTime ¶
func (o *ContactInstanceProperties) SetTxStartTimeAsTime(input time.Time)
type ContactOperationPredicate ¶
func (ContactOperationPredicate) Matches ¶
func (p ContactOperationPredicate) Matches(input Contact) bool
type ContactParameters ¶
type ContactParameters struct { ContactProfile ResourceReference `json:"contactProfile"` EndTime string `json:"endTime"` GroundStationName string `json:"groundStationName"` StartTime string `json:"startTime"` }
func (*ContactParameters) GetEndTimeAsTime ¶
func (o *ContactParameters) GetEndTimeAsTime() (*time.Time, error)
func (*ContactParameters) GetStartTimeAsTime ¶
func (o *ContactParameters) GetStartTimeAsTime() (*time.Time, error)
func (*ContactParameters) SetEndTimeAsTime ¶
func (o *ContactParameters) SetEndTimeAsTime(input time.Time)
func (*ContactParameters) SetStartTimeAsTime ¶
func (o *ContactParameters) SetStartTimeAsTime(input time.Time)
type ContactsProperties ¶
type ContactsProperties struct { AntennaConfiguration *ContactsPropertiesAntennaConfiguration `json:"antennaConfiguration,omitempty"` ContactProfile ResourceReference `json:"contactProfile"` EndAzimuthDegrees *float64 `json:"endAzimuthDegrees,omitempty"` EndElevationDegrees *float64 `json:"endElevationDegrees,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` GroundStationName string `json:"groundStationName"` MaximumElevationDegrees *float64 `json:"maximumElevationDegrees,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ReservationEndTime string `json:"reservationEndTime"` ReservationStartTime string `json:"reservationStartTime"` RxEndTime *string `json:"rxEndTime,omitempty"` RxStartTime *string `json:"rxStartTime,omitempty"` StartAzimuthDegrees *float64 `json:"startAzimuthDegrees,omitempty"` StartElevationDegrees *float64 `json:"startElevationDegrees,omitempty"` Status *ContactsStatus `json:"status,omitempty"` TxEndTime *string `json:"txEndTime,omitempty"` TxStartTime *string `json:"txStartTime,omitempty"` }
func (*ContactsProperties) GetReservationEndTimeAsTime ¶
func (o *ContactsProperties) GetReservationEndTimeAsTime() (*time.Time, error)
func (*ContactsProperties) GetReservationStartTimeAsTime ¶
func (o *ContactsProperties) GetReservationStartTimeAsTime() (*time.Time, error)
func (*ContactsProperties) GetRxEndTimeAsTime ¶
func (o *ContactsProperties) GetRxEndTimeAsTime() (*time.Time, error)
func (*ContactsProperties) GetRxStartTimeAsTime ¶
func (o *ContactsProperties) GetRxStartTimeAsTime() (*time.Time, error)
func (*ContactsProperties) GetTxEndTimeAsTime ¶
func (o *ContactsProperties) GetTxEndTimeAsTime() (*time.Time, error)
func (*ContactsProperties) GetTxStartTimeAsTime ¶
func (o *ContactsProperties) GetTxStartTimeAsTime() (*time.Time, error)
func (*ContactsProperties) SetReservationEndTimeAsTime ¶
func (o *ContactsProperties) SetReservationEndTimeAsTime(input time.Time)
func (*ContactsProperties) SetReservationStartTimeAsTime ¶
func (o *ContactsProperties) SetReservationStartTimeAsTime(input time.Time)
func (*ContactsProperties) SetRxEndTimeAsTime ¶
func (o *ContactsProperties) SetRxEndTimeAsTime(input time.Time)
func (*ContactsProperties) SetRxStartTimeAsTime ¶
func (o *ContactsProperties) SetRxStartTimeAsTime(input time.Time)
func (*ContactsProperties) SetTxEndTimeAsTime ¶
func (o *ContactsProperties) SetTxEndTimeAsTime(input time.Time)
func (*ContactsProperties) SetTxStartTimeAsTime ¶
func (o *ContactsProperties) SetTxStartTimeAsTime(input time.Time)
type ContactsStatus ¶ added in v0.20220622.1090000
type ContactsStatus string
const ( ContactsStatusCancelled ContactsStatus = "cancelled" ContactsStatusFailed ContactsStatus = "failed" ContactsStatusProviderCancelled ContactsStatus = "providerCancelled" ContactsStatusScheduled ContactsStatus = "scheduled" ContactsStatusSucceeded ContactsStatus = "succeeded" )
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Contact
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Contact // 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 ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type ResourceReference ¶
type ResourceReference struct {
Id *string `json:"id,omitempty"`
}
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 SpacecraftsListAvailableContactsCompleteResult ¶
type SpacecraftsListAvailableContactsCompleteResult struct {
Items []AvailableContacts
}
type SpacecraftsListAvailableContactsOperationResponse ¶
type SpacecraftsListAvailableContactsOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *[]AvailableContacts // contains filtered or unexported fields }
func (SpacecraftsListAvailableContactsOperationResponse) HasMore ¶
func (r SpacecraftsListAvailableContactsOperationResponse) HasMore() bool
func (SpacecraftsListAvailableContactsOperationResponse) LoadMore ¶
func (r SpacecraftsListAvailableContactsOperationResponse) LoadMore(ctx context.Context) (resp SpacecraftsListAvailableContactsOperationResponse, err error)
Source Files ¶
- client.go
- constants.go
- id_contact.go
- id_spacecraft.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_spacecraftslistavailablecontacts_autorest.go
- model_availablecontacts.go
- model_contact.go
- model_contactinstanceproperties.go
- model_contactparameters.go
- model_contactsproperties.go
- model_contactspropertiesantennaconfiguration.go
- model_resourcereference.go
- predicates.go
- version.go