MockableIotHubSubscriptionResource.GetIotHubDescriptions 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.
Get all the IoT hubs in a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs
- Operation Id: IotHubResource_ListBySubscription
- Default Api Version: 2023-06-30
- Resource: IotHubDescriptionResource
public virtual Azure.Pageable<Azure.ResourceManager.IotHub.IotHubDescriptionResource> GetIotHubDescriptions (System.Threading.CancellationToken cancellationToken = default);
abstract member GetIotHubDescriptions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.IotHub.IotHubDescriptionResource>
override this.GetIotHubDescriptions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.IotHub.IotHubDescriptionResource>
Public Overridable Function GetIotHubDescriptions (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of IotHubDescriptionResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of IotHubDescriptionResource that may take multiple service requests to iterate over.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET