OrbitalExtensions.GetOrbitalSpacecrafts 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.
Overloads
GetOrbitalSpacecrafts(SubscriptionResource, String, CancellationToken) |
Returns list of spacecrafts by subscription.
|
GetOrbitalSpacecrafts(ResourceGroupResource) |
Gets a collection of OrbitalSpacecraftResources in the ResourceGroupResource. MockingTo mock this method, please mock GetOrbitalSpacecrafts() instead. |
GetOrbitalSpacecrafts(SubscriptionResource, String, CancellationToken)
- Source:
- OrbitalExtensions.cs
- Source:
- OrbitalExtensions.cs
Returns list of spacecrafts by subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Orbital/spacecrafts
- Operation Id: Spacecrafts_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.Orbital.OrbitalSpacecraftResource> GetOrbitalSpacecrafts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetOrbitalSpacecrafts : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Orbital.OrbitalSpacecraftResource>
<Extension()>
Public Function GetOrbitalSpacecrafts (subscriptionResource As SubscriptionResource, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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
A collection of OrbitalSpacecraftResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
GetOrbitalSpacecrafts(ResourceGroupResource)
- Source:
- OrbitalExtensions.cs
- Source:
- OrbitalExtensions.cs
Gets a collection of OrbitalSpacecraftResources in the ResourceGroupResource. MockingTo mock this method, please mock GetOrbitalSpacecrafts() instead.
public static Azure.ResourceManager.Orbital.OrbitalSpacecraftCollection GetOrbitalSpacecrafts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetOrbitalSpacecrafts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Orbital.OrbitalSpacecraftCollection
<Extension()>
Public Function GetOrbitalSpacecrafts (resourceGroupResource As ResourceGroupResource) As OrbitalSpacecraftCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of OrbitalSpacecraftResources and their operations over a OrbitalSpacecraftResource.
Exceptions
resourceGroupResource
is null.