共用方式為


PurviewAccountCollection Class

Definition

A class representing a collection of PurviewAccountResource and their operations. Each PurviewAccountResource in the collection will belong to the same instance of ResourceGroupResource. To get a PurviewAccountCollection instance call the GetPurviewAccounts method from an instance of ResourceGroupResource.

public class PurviewAccountCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Purview.PurviewAccountResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Purview.PurviewAccountResource>
type PurviewAccountCollection = class
    inherit ArmCollection
    interface seq<PurviewAccountResource>
    interface IEnumerable
    interface IAsyncEnumerable<PurviewAccountResource>
Public Class PurviewAccountCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of PurviewAccountResource), IEnumerable(Of PurviewAccountResource)
Inheritance
PurviewAccountCollection
Implements

Constructors

PurviewAccountCollection()

Initializes a new instance of the PurviewAccountCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, PurviewAccountData, CancellationToken)

Creates or updates an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}
  • Operation Id: Accounts_CreateOrUpdate
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
CreateOrUpdateAsync(WaitUntil, String, PurviewAccountData, CancellationToken)

Creates or updates an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}
  • Operation Id: Accounts_CreateOrUpdate
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
Get(String, CancellationToken)

Get an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
GetAll(String, CancellationToken)

List accounts in ResourceGroup

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts
  • Operation Id: Accounts_ListByResourceGroup
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
GetAllAsync(String, CancellationToken)

List accounts in ResourceGroup

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts
  • Operation Id: Accounts_ListByResourceGroup
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
GetAsync(String, CancellationToken)

Get an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewAccountResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<PurviewAccountResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PurviewAccountResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to