共用方式為


DigitalTwinsExtensions.GetDigitalTwinsDescriptions Method

Definition

Overloads

GetDigitalTwinsDescriptions(ResourceGroupResource)

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

GetDigitalTwinsDescriptions(SubscriptionResource, CancellationToken)

Get all the DigitalTwinsInstances in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances
  • Operation Id: DigitalTwins_List

GetDigitalTwinsDescriptions(ResourceGroupResource)

Source:
DigitalTwinsExtensions.cs
Source:
DigitalTwinsExtensions.cs

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

public static Azure.ResourceManager.DigitalTwins.DigitalTwinsDescriptionCollection GetDigitalTwinsDescriptions (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDigitalTwinsDescriptions : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DigitalTwins.DigitalTwinsDescriptionCollection
<Extension()>
Public Function GetDigitalTwinsDescriptions (resourceGroupResource As ResourceGroupResource) As DigitalTwinsDescriptionCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DigitalTwinsDescriptionResources and their operations over a DigitalTwinsDescriptionResource.

Exceptions

resourceGroupResource is null.

Applies to

GetDigitalTwinsDescriptions(SubscriptionResource, CancellationToken)

Source:
DigitalTwinsExtensions.cs
Source:
DigitalTwinsExtensions.cs

Get all the DigitalTwinsInstances in a subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to