共用方式為


OrbitalSpacecraftResource.GetAllAvailableContactsAsync Method

Definition

Returns list of available contacts. A contact is available if the spacecraft is visible from the ground station for more than the minimum viable contact duration provided in the contact profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/listAvailableContacts
  • Operation Id: Spacecrafts_ListAvailableContacts
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Orbital.Models.OrbitalAvailableContactsResult>> GetAllAvailableContactsAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Orbital.Models.OrbitalAvailableContactsContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAvailableContactsAsync : Azure.WaitUntil * Azure.ResourceManager.Orbital.Models.OrbitalAvailableContactsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Orbital.Models.OrbitalAvailableContactsResult>>
override this.GetAllAvailableContactsAsync : Azure.WaitUntil * Azure.ResourceManager.Orbital.Models.OrbitalAvailableContactsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Orbital.Models.OrbitalAvailableContactsResult>>
Public Overridable Function GetAllAvailableContactsAsync (waitUntil As WaitUntil, content As OrbitalAvailableContactsContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of OrbitalAvailableContactsResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
OrbitalAvailableContactsContent

The parameters to provide for the contacts.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to