Udostępnij za pośrednictwem


IotCentralExtensions.GetIotCentralApps Method

Definition

Overloads

GetIotCentralApps(ResourceGroupResource)

Gets a collection of IotCentralAppResources in the ResourceGroupResource. MockingTo mock this method, please mock GetIotCentralApps() instead.

GetIotCentralApps(SubscriptionResource, CancellationToken)

Get all IoT Central Applications in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.IoTCentral/iotApps
  • Operation Id: Apps_ListBySubscription

GetIotCentralApps(ResourceGroupResource)

Source:
IotCentralExtensions.cs
Source:
IotCentralExtensions.cs

Gets a collection of IotCentralAppResources in the ResourceGroupResource. MockingTo mock this method, please mock GetIotCentralApps() instead.

public static Azure.ResourceManager.IotCentral.IotCentralAppCollection GetIotCentralApps (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetIotCentralApps : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.IotCentral.IotCentralAppCollection
<Extension()>
Public Function GetIotCentralApps (resourceGroupResource As ResourceGroupResource) As IotCentralAppCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of IotCentralAppResources and their operations over a IotCentralAppResource.

Exceptions

resourceGroupResource is null.

Applies to

GetIotCentralApps(SubscriptionResource, CancellationToken)

Source:
IotCentralExtensions.cs
Source:
IotCentralExtensions.cs

Get all IoT Central Applications in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.IoTCentral/iotApps
  • Operation Id: Apps_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.IotCentral.IotCentralAppResource> GetIotCentralApps (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetIotCentralApps : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.IotCentral.IotCentralAppResource>
<Extension()>
Public Function GetIotCentralApps (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of IotCentralAppResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of IotCentralAppResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to