PurviewExtensions.GetPurviewAccounts Method

Definition

Overloads

Name Description
GetPurviewAccounts(ResourceGroupResource)

Gets a collection of PurviewAccounts in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetPurviewAccounts() instead. </item>

GetPurviewAccounts(SubscriptionResource, String, CancellationToken)

List accounts in Subscription <item> Mocking. To mock this method, please mock GetPurviewAccounts(String, CancellationToken) instead. </item>

GetPurviewAccounts(ResourceGroupResource)

Source:
PurviewExtensions.cs
Source:
PurviewExtensions.cs

Gets a collection of PurviewAccounts in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetPurviewAccounts() instead. </item>

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 the method will execute against.

Returns

An object representing collection of PurviewAccounts 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 <item> Mocking. To mock this method, please mock GetPurviewAccounts(String, CancellationToken) instead. </item>

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 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