OrbitalExtensions.GetOrbitalSpacecraftsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns list of spacecrafts by subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Orbital/spacecrafts
- Operation Id: Spacecrafts_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.Orbital.OrbitalSpacecraftResource> GetOrbitalSpacecraftsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetOrbitalSpacecraftsAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Orbital.OrbitalSpacecraftResource>
<Extension()>
Public Function GetOrbitalSpacecraftsAsync (subscriptionResource As SubscriptionResource, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of OrbitalSpacecraftResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- skiptoken
- String
An opaque string that the resource provider uses to skip over previously-returned results. This is used when a previous list operation call returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of OrbitalSpacecraftResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET