ViewResourceFormatCollection.GetAll(String, CancellationToken) 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.
Gets all available views for given user in the specified hub.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views
- Operation Id: Views_ListByHub
- Default Api Version: 2017-04-26
- Resource: ViewResourceFormatResource
public virtual Azure.Pageable<Azure.ResourceManager.CustomerInsights.ViewResourceFormatResource> GetAll(string userId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CustomerInsights.ViewResourceFormatResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CustomerInsights.ViewResourceFormatResource>
Public Overridable Function GetAll (userId As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ViewResourceFormatResource)
Parameters
- userId
- String
The user ID. Use * to retrieve hub level views.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ViewResourceFormatResource that may take multiple service requests to iterate over.
Exceptions
userId
is null.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET