Sdílet prostřednictvím


PurviewExtensions.GetPurviewAccounts Method

Definition

Overloads

GetPurviewAccounts(ResourceGroupResource)

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

GetPurviewAccounts(SubscriptionResource, String, CancellationToken)

List accounts in Subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Purview/accounts
  • Operation Id: Accounts_ListBySubscription
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource

GetPurviewAccounts(ResourceGroupResource)

Source:
PurviewExtensions.cs
Source:
PurviewExtensions.cs

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

public static Azure.ResourceManager.Purview.PurviewAccountCollection GetPurviewAccounts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetPurviewAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Purview.PurviewAccountCollection
<Extension()>
Public Function GetPurviewAccounts (resourceGroupResource As ResourceGroupResource) As PurviewAccountCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of PurviewAccountResources and their operations over a PurviewAccountResource.

Exceptions

resourceGroupResource is null.

Applies to

GetPurviewAccounts(SubscriptionResource, String, CancellationToken)

Source:
PurviewExtensions.cs
Source:
PurviewExtensions.cs

List accounts in Subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Purview/accounts
  • Operation Id: Accounts_ListBySubscription
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
public static Azure.Pageable<Azure.ResourceManager.Purview.PurviewAccountResource> GetPurviewAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPurviewAccounts : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Purview.PurviewAccountResource>
<Extension()>
Public Function GetPurviewAccounts (subscriptionResource As SubscriptionResource, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PurviewAccountResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

skipToken
String

The skip token.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to